struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "anil (JIRA)" <>
Subject [jira] Created: (WW-3416) firefox action executed method invoke two times.this problems happen only in firefox (ver of firefox 3.5.8)
Date Wed, 24 Mar 2010 16:09:27 GMT
firefox action executed method invoke two times.this problems happen only in firefox (ver of
firefox 3.5.8)

                 Key: WW-3416
             Project: Struts 2
          Issue Type: Bug
         Environment: windows xp and apache-tomcat-6.0.24
            Reporter: anil

Recently I discovered in my project the action form is getting invoked two times for each

It was very surprising so I created a new web project from scratch with bare minimum artifact
and I noticed that this problem of action getting invoked two time happens consistently only
in firefox , other browser I tested this with is IE and in IE as expected the action getting
invoke only once.

Also I downloaded struts 2 example application from internet and without changing anything
in it, i still experiencing two times action getting invoked

Please let me know if you can guide me to solve this problem .Below is code of web.xml and
struts.xml and the jar files in lib directory

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi=""
	xmlns="" xmlns:web=""
	id="WebApp_ID" version="2.5">




<?xml version="1.0" encoding="UTF-8" ?>
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"


<constant name="struts.enable.DynamicMethodInvocation" value="false" />
<constant name="struts.devMode" value="true" />

   <package name="test" extends="struts-default" namespace="/test">
		<action name="helloWorld" class="com.strutsaa.test.HelloWorldAction" >

<!-- Add packages here -->


.......Jar file included...........

......Code of action class....
package com.strutsaa.test;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.opensymphony.xwork2.ActionSupport;

public class HelloWorldAction extends ActionSupport {
	protected transient final Log log = LogFactory.getLog(getClass());
	public String execute()
		return SUCCESS;

Please let me know if any mistake in any code or configuration which might be creating this

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message