S
Steven
Hi everyone,
Lastnight I setup Eclipse to work with Tomcat, which works very good, but
there are something I don't understand.
1. My files are put in my workspace in (C:\Documents and Settings\...etc)
How does Tomcat (which is installed in C:\Tomcat) know that it should get
the files from my workspace directory?
Because in the C:\Tomcat directory I can't find any .XML file that refers to
my workspace directory.
2. How I developed my servlets till now, I had some other free editor, I
needed to compile my servlets then restart Tomcat and then test it.
With Eclipse + Tomcat plugin, all I need to do save the servlet and
apparently the source code is compiled automatically. All I need to do is
refresh the servlet in my browsers (very handy and easy to develop like
this). But my question is, does Eclipse compile the servlet automatically
after saving? And why doesn't tomcat have to be restarted?
Just a few questions to understand it a bit better, I'm really happy with
this setup as it makes everything a lot easier.
Rgrds,
Steven.
Lastnight I setup Eclipse to work with Tomcat, which works very good, but
there are something I don't understand.
1. My files are put in my workspace in (C:\Documents and Settings\...etc)
How does Tomcat (which is installed in C:\Tomcat) know that it should get
the files from my workspace directory?
Because in the C:\Tomcat directory I can't find any .XML file that refers to
my workspace directory.
2. How I developed my servlets till now, I had some other free editor, I
needed to compile my servlets then restart Tomcat and then test it.
With Eclipse + Tomcat plugin, all I need to do save the servlet and
apparently the source code is compiled automatically. All I need to do is
refresh the servlet in my browsers (very handy and easy to develop like
this). But my question is, does Eclipse compile the servlet automatically
after saving? And why doesn't tomcat have to be restarted?
Just a few questions to understand it a bit better, I'm really happy with
this setup as it makes everything a lot easier.
Rgrds,
Steven.