-
1. Re: slow response times for jsp's
snasto Oct 15, 2004 1:05 AM (in response to louie171)one way is to exapand the archive (ear or war). If you do that then jsp will be compiled only the first time, then will be stored in work dir as compliled.
If you keep tjhem archived, jsp will be complied each time are requested.
THere are also other params the you need to look in web.xml for jsp. JBoss out of the box is tuned for developement. Change to false: deployment, reloading and keepgenerated.
You will notice the difference.
Another way is to precompile jsp with Ant and treat them any other servlets. -
2. Re: slow response times for jsp's
louie171 Oct 15, 2004 4:45 AM (in response to louie171)
thanks for your reply snasto ; but how do you expand your jars/wars? -
3. Re: slow response times for jsp's
louie171 Oct 15, 2004 5:21 AM (in response to louie171)Also to set the 'deployment' , 'reloading' etc as you mention is it the web.xml file in the tomcat directory you alter?
I presume i must add these to the below as name value pairs is this right?
<servlet-name>jsp</servlet-name>
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
<init-param>
<param-name>logVerbosityLevel</param-name>
<param-value>WARNING</param-value>
</init-param>
<load-on-startup>3</load-on-startup>