• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP directive

 
Rauhl Roy
Ranch Hand
Posts: 401
Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
karthikeyan Chockalingam
Ranch Hand
Posts: 259
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic