Meaningless Drivel is fun!*
The moose likes JSP and the fly likes JSP directive Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP directive" Watch "JSP directive" New topic
Author

JSP directive

Rauhl Roy
Ranch Hand

Joined: Aug 01, 2006
Posts: 401

Hey all,

JSP directives execute at the time of trasalation and JSP actions get executed at the time of runtime.

But here my doubt is .. I am using directives in my application and I change the static content of a jsp/html file after deploying the application. Does this mean, I am supposed to compile/deploy the whole application in order for my container to recognise about the changes i have made in Jsp {directive} pages?

Regards,
Rahul Roy
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

With older containers you had to force the JSP that containing the include tags to be recompiled in order for the included pages to be.
The Unix 'touch' command can do this for you.

Most newer containers will check the timestamps on the inlcuded files and recompile all the needed JSPs for you.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
karthikeyan Chockalingam
Ranch Hand

Joined: Sep 06, 2003
Posts: 259
Incase your changes are not reflected, you may also have to check web container specific deployment descriptors
like weblogic.xml which may have
<jsp-param>
<param-name>keepgenerated</param-name>
<param-value>true</param-value>
</jsp-param>

Set the value to false to reflect changes in code.


http://www.skillassert.com


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP directive