• 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

I don't want JSP reloading

 
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Whenever i change my JSP page it is comiled and reloaded again. I dont want this behaviour. The documentation states in this regard.
JSP reloading
You can configure how often each web application on the WebSphere Application Server will look for revised JSP files that need to be recompiled. By default, the Application Server will check for the presence of a class file every time a JSP is called, and compile the class file if one doesn't already exist. For performance purposes, you may wish to disable this check entirely or only after the JSP is called for the first time. Additionally, you may wish configure the amount of time between checks. Two web application attributes are used to specify how you want this done for each web application:
checkjspfiles
This attribute has three possible values:
"true" (or "always") - this will cause the Application Server to check for the
presence of a class file each time the JSP is called or each X number of
milliseconds specified in the reloadinterval below.
m
"firsttime" - the Application Server will check for the presence of the class file
only once: when it is called for the first time.
m
"false" (or "never") - the Application Server will never check for the class file (you
must ensure that a class file already exists for the JSP to work properly).
m
1.reloadinterval
The number of milliseconds between each check. This variable only works when you
have selected "true" (or "always") as the value for checkjspfiles above.
I have added an "checkjspfiles" attribute in my webcontainer and set its property to "false". Still the JSP reloads. Anything i am missing out.
 
Rahul Mahindrakar
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does what this specifies here on reloading of JSP's here work for you.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic