On 4/18/07, Berglas, Anthony <[EMAIL PROTECTED]> wrote:

[[My general comment would be for web development use Servlets, not
JSPs.  With a few well thought out templates you don't write much HTML
anyway, and using servlets ends the impedance mismatch, as well as much
of the pain...  But too late for me now.]]


No, JSPs are best suited to display the View, if the display code is
written in a Servlet, makes it very difficult for other developers to
work with.

Servlets should be reserved for controlling JSPs and to interact with
the Java Classes in the application layer.

I pre-compile JSPs too, but only before creating the final WAR file
just before deploying the war file to production, and I believe that's
the right way to do it.

Pre-compiling JSPs during the development of JSPs is a waste of time
and effort :-)

-Rashmi

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to