This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes JSP Refresh Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP Refresh" Watch "JSP Refresh" New topic
Author

JSP Refresh

Jerom wymann
Greenhorn

Joined: Jul 30, 2002
Posts: 2
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

Joined: Apr 18, 2002
Posts: 238
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).


CNSS/NSA Infosec Professional,<br />Software Engineer
sreenivas chalam
Greenhorn

Joined: Jul 11, 2002
Posts: 2
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


Sreenivas Chalam<p>** Behave the way you would expect from others **
 
jQuery in Action, 2nd edition
 
subject: JSP Refresh
 
Similar Threads
what does 'top' means?
Generated Servlet from JSP not found
Deploying Servlets/JSP on Linux w/Tomcat
Why $ in jstl core tag attributes?
Deploying Servlets/JSP on Linux w/Tomcat