aspose file tools*
The moose likes Struts and the fly likes Page is refreshing continously on IE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Page is refreshing continously on IE" Watch "Page is refreshing continously on IE" New topic
Author

Page is refreshing continously on IE

selvi sibi
Greenhorn

Joined: Feb 18, 2011
Posts: 9
When I perform a logout function, my home page is loading continously . Can you please suggest a solution. It is the problem only on IE browser. It happens only after perform a logout function. Thanks in advance...

Shankar Tanikella
Ranch Hand

Joined: Jan 30, 2011
Posts: 329

Need more information on what you are doing on logout


Have Fun with Java
little,little.. little by little makes a lot..
selvi sibi
Greenhorn

Joined: Feb 18, 2011
Posts: 9
Hii,
thanks for your reply. I'm stuck on this issue. in my logout page, I remove the cookies for a particulat email so that to remove him from keep me signed in portion. On the next step forwardint to my index page....


<% // for removing cookies after logout
if (session.getAttribute("sesEmailAddressl") != null) {
ClassName obj = new ClassName ();
String email = session.getAttribute("sesEmailAddressl").toString();
objLoginDAOImpl.removeCookies(response, email, "");
}
if (session != null) {
session.invalidate();
}
%>
<jsp:forward page="toLogin.do"/>
Shankar Tanikella
Ranch Hand

Joined: Jan 30, 2011
Posts: 329

It looks fine, whats the follow up code, i mean toLogin.do..
Which version of struts is it?
selvi sibi
Greenhorn

Joined: Feb 18, 2011
Posts: 9
I am using struts1.3.8 .... When I request for home page it loads and functions correctly. On all browsers other than IE it is ok. But this issue is only when I perform logout. If youhave any suggestions, Please help me .....

In my home page there is login section and searching section. Date pickers are using in my index page....
After performs logout function, then whenever we request home page is is refreshing continously.........


Shankar Tanikella
Ranch Hand

Joined: Jan 30, 2011
Posts: 329

Few browsers like newer versions of Firefox, terminates the infinite submissions automatically and hence you could not recognize the problem.

What is the global forward and exception defined in the struts-config?
Do you have any onload submission in login JSP?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Page is refreshing continously on IE