There is an utility called jspc. To use the generated servlets, the web.xml
file has to be modified to specify the servlet mapping for the jsp file. If
this is not done, tomcat will ignore the class and create the temporary
servlet in the work directory.

Resin has an option for pre-compiling jsps. I don't know about JRun.

And has anyone noticed that in Tomcat 3.2.1, it takes a very long time to
compile a jsp file. It seems to be slower that the earlier version. Is there
any solution for it?

Thanks
Nagaraj


-----Original Message-----
From: carnell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 11, 2001 4:10 PM
To: Tomcat-user
Subject: Pre-compiling JSPs


There does not seem to be much documentation on precompiling JSPs. How would
I precompile a bunch of JSPs (used in the ROOT webapp on a remote linux
machine), for instance index.jsp(or all files in the directory).

Is build.sh appropiate? I do not need to deploy, I simply upload my changed
JSP to the webserver
-- or jspc?

Thanks,

Craig.
[EMAIL PROTECTED]



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


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

Reply via email to