Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > JSP pages refresh ?

Reply
Thread Tools

JSP pages refresh ?

 
 
mhk
Guest
Posts: n/a
 
      11-29-2003
Hi,

i am doing webbased project using remote Apache webserver. i have
classes in "WEB-INF/classes" directory.

My web pages dont refresh after i make changes in classes and upload
them. if i delete the classes even then my JSP works with the old class
that was available previous. This problem occures even if i refresh the
page or open a new web page with that address.

As a result i have to wait long time and press the refresh button many
many time until i get the new results.

can anyone know how to solve this problem.

Thanks alot.


Jeff

 
Reply With Quote
 
 
 
 
Ben_
Guest
Posts: n/a
 
      11-29-2003
Web containers poll at a given interval to detect changes. The configuration
is implementation dependant.


 
Reply With Quote
 
 
 
 
mhk
Guest
Posts: n/a
 
      11-29-2003
Sorry, i didnt understand it. can u explain it a bit.

Thanks

Jeff

Ben_ wrote:
> Web containers poll at a given interval to detect changes. The configuration
> is implementation dependant.
>
>


 
Reply With Quote
 
Ben_
Guest
Posts: n/a
 
      11-29-2003
When you request the JSP, the change might not be detected directly, due to
the "polling interval" (the name might be implementation dependant, it's the
name used in WebSphere). You might have to wait a minute, if so configured,
for the web container to detect the change and recompile the JSP.


 
Reply With Quote
 
Ben_
Guest
Posts: n/a
 
      11-29-2003
> "polling interval" (...), it's the
> name used in WebSphere

Or was it reload interval ? Or maybe refresh interval ? Can't recall exactly
. Anyway, the idea is the same: it might take you a bit of patience for
the change to be detected. In WebSphere, it's configured in an extension to
the standard deployment descriptor.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Translate jsp pages into asp pages using xslt ak ASP .Net 8 07-30-2007 11:49 PM
[JSP] difference between jsp:forward and jsp:include alexjaquet@gmail.com Java 0 06-02-2006 01:21 PM
JSP: Session parameters vanish on refresh. How do I keep them on refresh? Per Magnus L?vold Java 1 10-08-2004 02:52 PM
How do i refresh a datagrid from a pop up window without having to refresh the whole page? Pkenty ASP .Net Web Controls 0 05-28-2004 07:06 AM
Problem with refresh button breaking automatic refresh brian lanning ASP .Net 0 07-29-2003 07:57 PM



Advertisments