I have this problem and it took me some time for me to understand it, so I thought it could save some time to others if I post it here for reference. It doesn't really require an answer, though if someone can explain it or fix it it would be welcome !
Using Struts 2.1.8, I have some actions configured like that :
<action name="ReportObservationDetail_*" method="{1}" class="ch.unine.wisdot.reportobservation.ReportObservationDetail" >
<interceptor-ref name="timer"/>
<interceptor-ref name="securedStack" />
<result name="input">/main/reportObservation/ReportObservationDetail.jsp</result>
<result name="success" type="redirectAction">ReportObservationDetail2_input</result>
...
</action>
The redirectAction
result (success
) sends a HTTP 302
(temporarily moved) response that redirects to another action. It worked fine except in Firefox.
In FF it sometimes works and sometimes shows just a blank page. Using Firebug I can see that the 302 redirect is well received, then the URL of the other action is also loaded, but the page is not "rendered" in the browser. The attached resources (css, javascript, images...) are not loaded. When I chose "shwow page source" in FF it shows the right source code.
The redirect works fine in every other browser I tried : Opera, IE8, Chrome, Safari.
Answer : Finally I discovered that Firebug itself is the source of the problem. When I disable Firebug, it works fine. I couldn't find any info about this "incompatibility" on the web. Maybe someone can explain it ?
Versions info : Firefox 3.6.3, Firebug 1.5.4, other extensions installed : Xmarks, Adblockplus, java