Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP pages not getting updated

 
Mark Kaplun
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic