Yes, I guess so.
I think the reason behind this facility is to allow you precompile JSPs
before the container does it on your behalf, thereby finding errors
before a customer does.
Clive
jmorgan@(protected):
>Thanks for the responses.
>
>Sadly, this only seems to work if development=true, unless I am doing
>something wrong. Doesn't that seem a little redundant, seeing as Tomcat
>will always check for changes and compile when in development mode?
>
>Jonathan
>
>
>
>
>Jon Wingfield <jon.wingfield@(protected)>
>09/12/2003 11:28 AM
>Please respond to
>"Tomcat Users List" <tomcat-user@(protected)>
>
>
>To
>Tomcat Users List <tomcat-user@(protected)>
>cc
>
>Subject
>Re: force JSP to recompile
>
>
>
>
>
>
>it's page.jsp?jsp_precompile=true
>as per section JSP.8.4.2 of the JSP1.2 spec
>(or section JSP.10.4.2 of the JSP2.0 spec)
>
>HTH,
>
>Jon
>
>jmorgan@(protected):
>
>
>
>>Hello,
>>
>>My apologies if this question has already been answered. I've gone
>>through the archives, but haven't found a suitable answer.
>>
>>I am running Tomcat 5 in a production environment and have set
>>development=false and reloading=false. Occasionally, I do have to make
>>
>>
>a
>
>
>>change to a JSP, which then has to be recompiled manually. I remember
>>reading a while ago that you can append a parameter to the URL to get a
>>JSP to recompile (something like page.jsp?compile=true). Does this
>>
>>
>still
>
>
>>work in Tomcat 5? If so, what is the exact parameter? If there is a
>>better way to do this, I would like to know. I have read about using
>>
>>
>Ant,
>
>
>>but compiling with a URL parameter would be my preferred method.
>>
>>Thanks in advance!
>>
>>Jonathan
>>
>>
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>For additional commands, e-mail: tomcat-user-help@(protected)
>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)