• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
lusha tak
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I m facing the same problem what lusha tak is facing
please help ASAP
thanks in advance
Bansal
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic