wood burning stoves 2.0*
The moose likes Servlets and the fly likes Jsp not getting refreshed!(be tomcat!! ,be JRUN!!) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Jsp not getting refreshed!(be tomcat!! ,be JRUN!!)" Watch "Jsp not getting refreshed!(be tomcat!! ,be JRUN!!)" New topic
Author

Jsp not getting refreshed!(be tomcat!! ,be JRUN!!)

lusha tak
Ranch Hand

Joined: Dec 30, 2000
Posts: 185
Hi Everybody!
The Jsp pages are not getting refreshed .As the result the o/p from the bean(called in the corresponding JSP page) remains same.
I have tried 'page','session',request' scope of bean but the problem could not be solved.
This problem does not exist when I m running the application with the URL as "http://locahost:8081/pms/...."
But as soon as I specify the IP address of the server instead of localhost(i.e URL as "http://185.15.15.6:8081/pms/..." ) on the server only(same m/c), the JSP pages doesn't get refreshed consequently the bean is never called again & the o/p remains unchanged.
When I refresh the page ,it starts working fine.
There is no problem in the cache of the local m/c as even I ve tested it on those m/c's browser where this application was running for the very first time.
I ve tried diffent server as TOMCAT & even JRUN but not I think it is not the Problem of any particular server.
Plz do help.
Thnx in advance
Lusha
Deepthi Katta
Greenhorn

Joined: Mar 26, 2001
Posts: 7
Hi,
Try using this
var submitcount = 0;
function checkResubmit() {
if (submitcount == 0) {
submitcount++;
return true;
}
else {
return false;
}
}
Then while loading the page use this return checkResubmit(); at the end of the statement in jsp. I am not sure if it helps, but you can try it. Let me know what happened.
Sunil K Bansal
Ranch Hand

Joined: Jan 04, 2001
Posts: 62
Hi all,
I m facing the same problem what lusha tak is facing
please help ASAP
thanks in advance
Bansal
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jsp not getting refreshed!(be tomcat!! ,be JRUN!!)
 
Similar Threads
Problem running my first JSP using JRun
JSP not getting refreshed, Modrators Please Help
urgent problem, jsp not getting refreshed
Can't Get Tomcat 4.1.18 running
JSP cannot be refreshed..