Originally posted by Jeppe Fjord:
Is it possible to run the JSP files being compiled (*.java files) in the \WEB-INF\work directory only, and delete all the JSP f�les from the application?
Yes it is possible. There is really no advantage, though.
Originally posted by Bear Bibeault:
Why on earth would you want to do that?
You wouldn't. What you
would want to do is go the very next step and compile the .java into .class, stick the result under the classes directory (with the appropriate folder tree), and update the web.xml to handle them.
The advantage to this method is the normal delay in accessing each JSP does not exist, because it is already compiled into bytecode (.class).
<soapbox>
If you're compiling the JSPs and modifying the web.xml manually,
you aren't doing it correctly. Only use an automated build tool to do this, because otherwise you are wasting your time that could be better spent coding.
One such tool that does this is
Maven 1.x with the
tomcat plugin from codehaus.
</soapbox>