I am using Tomcat 5.0 and have added the JSPs to the WEB-INF/web.xml
file as follows:

  <servlet>
    <servlet-name>MyJsp</servlet-name>
    <jsp-file>/MyWebApp/MyJsp.jsp</jsp-file>
    <load-on-startup>1</load-on-startup>
  </servlet>

While I learned about this feature from BEA's website, it seems to
pre-compile the JSP's in Tomcat as well.

http://edocs.bea.com/wls/docs81/webapp/web_xml.html

about halfway down in servlet, search for "jsp-file".

This precompiles when you deploy the webapplication, so you will not
get compilation or parsing error reporting, but we never make errors,
right?

Alex
--
Those who can make you believe absurdities can make you commit atrocities
-- Fran=E7ois Marie Arouet (Voltaire)
http://cph.blogsome.com
http://genaud.org/alex/key.asc
--
CCC7 D19D D107 F079 2F3D BF97 8443 DB5A 6DB8 9CE1


--
Alex
--
Those who can make you believe absurdities can make you commit atrocities
-- François Marie Arouet (Voltaire)
http://cph.blogsome.com
http://genaud.org/alex/key.asc
--
CCC7 D19D D107 F079 2F3D BF97 8443 DB5A 6DB8 9CE1

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to