This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts 2 - Action only executes first time when using IE8 but works as expected in Firefox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 - Action only executes first time when using IE8 but works as expected in Firefox" Watch "Struts 2 - Action only executes first time when using IE8 but works as expected in Firefox" New topic
Author

Struts 2 - Action only executes first time when using IE8 but works as expected in Firefox

Richard Golebiowski
Ranch Hand

Joined: May 05, 2010
Posts: 213

I have a simple JSP page with three anchor tags in my application that I use for testing. After the action is completed I return with the same JSP page and display the results. In IE8 each action executes only the first time it is clicked. On subsequent clicks IE8 will display the page with the results for that action from the first time the link was clicked but the action is never executed on the server.

Richard Golebiowski
Ranch Hand

Joined: May 05, 2010
Posts: 213

I fixed the problem by adding the following:



Stupid IE!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts 2 - Action only executes first time when using IE8 but works as expected in Firefox
 
Similar Threads
Problem With I18n feature of Struts2
DisplayTag Export Question?
Struts Dojo Tree disappears on page reload
validation problem.
Ajax not working on IE. Undefined error