This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes JSP pages not getting updated Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "JSP pages not getting updated" Watch "JSP pages not getting updated" New topic
Author

JSP pages not getting updated

Mark Kaplun
Greenhorn

Joined: Jul 26, 2001
Posts: 4
I just started to play with WebLogic 6. I built sample JSP pages as documentations suggested and was able to invoke them with example server/application.
Now, when I make a changes to jsp page the server doesn't pick up this changes. I have to rebuild the page to see the changes I've made.(I am talking about HTML type of changes). I've done a project with Tomcat and never had this kind of problem.
Any ideas?
Thank you in advance for your help.
Mark.
Lars Neumann
Greenhorn

Joined: Jul 03, 2001
Posts: 11
I have the same problem. You can write this
<jsp-param>
<param-name>
pageCheckSeconds
</param-name>
<param-value>
1
</param-value>
</jsp-param>
into your weblogic.xml between the jsp-descriptor tags, and it is supposed to help. but in my case it doesn't. maybe it can help you.
Lars
Mark Kaplun
Greenhorn

Joined: Jul 26, 2001
Posts: 4
According to documentation the parameter "pageCheckSeconds":
"Sets the interval, in seconds, at which WebLogic Server checks to see if JSP files have changed and need recompiling. Dependencies are also checked and recursively reloaded if changed.
If set to 0, pages are checked on every request. If set to -1, page checking and recompiling is disabled"
I have tried to set to 0 - didn't help neither.
I have uninstalled and installed back to make sure I have clean, original set up. The same result.
Strange, isn't?
Mark
Lars Neumann
Greenhorn

Joined: Jul 03, 2001
Posts: 11
very strange!
in my case it doesn't work either. not with 1 and not with 0! refreshing the page while pressing the ctrl-key works fine.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JSP pages not getting updated
 
Similar Threads
basic jsp
jsp
How to force a web page to compile any time in websphere
Is it necessary to restart the server each time before running , when using JSTL?
How can I configure firefox not to cache the pages