aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts 2 - Action only executes first time when using IE8 but works as expected in Firefox
 
Similar Threads
Ajax not working on IE. Undefined error
Problem With I18n feature of Struts2
DisplayTag Export Question?
Struts Dojo Tree disappears on page reload
validation problem.