Struts action is calling execute method twice due to presence of "#" in the input jsp file
I have the HTML table with <td> like <td background="">
I could not understand what is the relationship between these two. Removing this
# character makes the Struts action executing only once.
I have attached the sources if anyone can help me to understand.
Best Regards
Su Mo
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd">
<struts-config>
<!-- Form Bean Definitions -->
<form-beans>
<form-bean name="sampleActionForm" type="com.company1.strutsSample.form.SampleActionForm">
</form-bean>
</form-beans>
<!-- ========== Action Mapping Definitions ============================== -->
<action-mappings>
<action path="/addSample" type="com.company1.strutsSample.action.SampleAction"
name="sampleActionForm" scope="request"
validate="false" input="/pages/sample.jsp">
</action>
</action-mappings>
<message-resources parameter="ApplicationResources" null="false"/>
<!--<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property
property="pathnames"
value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
</plug-in>-->
</struts-config>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

