File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP Refresh" Watch "JSP Refresh" New topic

JSP Refresh

Jerom wymann

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

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 **
I agree. Here's the link:
subject: JSP Refresh
It's not a secret anymore!