Less than 42 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP Refresh  RSS feed

 
Jerom wymann
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody,
Just another question,
Is it possible to tell explitly to a JSP that it has to reload himself, i. e. that tomcat don't have to look in the work directory and has to recompile the JSP? Thanks
 
Sam Smoot
Ranch Hand
Posts: 238
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What condition would cause the refresh? You can use JavaScript to update the page on several events as well as functions from other windows (with correct relationships).
 
sreenivas chalam
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you could use the html's <meta> tag to do that, but it's a drain on server resources. i don't suggest to do that. actually you should go for some kind of cron job on unix or at on NT
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!