Thanks Sylvain, I've posted several questions about JSPC and never got a response. I guess few people do it.
Anybody know if Tomcat responds to the JSP precompile directive and compiles stuff upon loading? Rick ----- Original Message ----- From: "St-Germain, Sylvain" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, July 30, 2002 1:47 PM Subject: RE: Deploying precompiled JSP > > Well... either nobody knows about this or nobody care or.... but I got it. > So, for prosperity.... > > Here is the trick. > > - compiled JSP go in WEB-INF/classes > - appropriate mapping is required in web.xml > > <servlet> > <servlet-name>SignIn</servlet-name> > <servlet-class>org.apache.jsp.signIn</servlet-class> > </servlet> > > <servlet-mapping> > <servlet-name>SignIn</servlet-name> > <url-pattern>/cmNavigator/signIn.jsp</url-pattern> > </servlet-mapping> > > > Sylvain. > > > -----Original Message----- > From: St-Germain, Sylvain [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 29, 2002 6:24 PM > To: Tomcat User (E-mail) > Subject: Deploying precompiled JSP > > > Hi all, > > I want to distribute my webapp providing pre-compiled JSP. I am not > bundling a WAR though (I found some messages about providing pre-compiled > jsp but they relate to a WAR) Is it possible to provide pre-compiled JSP > without of a WAR? > > So far I can build all my JSP and the delta between tomcat's one and the one > I generate (ant jspc task) is that my index.jsp is now index.class while > Tomcat's one is named index$jsp.class ... > > Does doing so force me to define a servlet-mapping for all my JSP in > web.xml? Does the built version go in the work dir or classes? > > Any help much appreciated. > Thanks. > -- > Sylvain > > This message may contain privileged and/or confidential information. If you > have received this e-mail in error or are not the intended recipient, you > may not use, copy, disseminate or distribute it; do not open any > attachments, delete it immediately from your system and notify the sender > promptly by e-mail that you have done so. Thank you. > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > This message may contain privileged and/or confidential information. If you > have received this e-mail in error or are not the intended recipient, you > may not use, copy, disseminate or distribute it; do not open any > attachments, delete it immediately from your system and notify the sender > promptly by e-mail that you have done so. Thank you. > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>