I'm just getting started with servlet/jsp.  I've been jumping around to
the different servers and I'm supportive of the open-source nature of
Tomcat.  But there's a feature in Resin that I really appreciate and I'm
curious if Tomcat supports anything similar.  

Example app structure:

/webapp
        /webapp/WEB-INF/
                /webapp/WEB-INF/src
                /webapp/WEB-INF/classes

-snip-

Resin has a "recompile" attribute in its configuration.  I can point it
to look for .java files in /webapp/WEB-INF/src and it will compile them
to /webapp/WEB-INF/classes when changes occur.  I think this is
outstanding during development.  With Tomcat 4.0b5 I've set up an Ant
build.xml file in my /webapp/WEB-INF/src directory so I run Ant and then
restart Tomcat, which accomplishes the same thing as the aforementioned
Resin configuration.  Do any of the JSP/Tomcat gurus out there have a
better method for development? 

Sometimes Tomcat will reload a webapp when the classes dir changes,
sometimes it won't.  It's a crapshoot for me.

Thanks,
-rr

Reply via email to