• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSP directive

 
Ranch Hand
Posts: 401
Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 259
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic