T
TDOR
I have a welcome.jsp and a projectproperties.jsp.
When i press a html link on welcome.jsp to href="projectproperties.do"
im sent
to back welcome.jsp again!? This is from the struts-config:
....
<form-beans>
<form-bean name="ProjectPropertiesForm"
type="myself.ProjectPropertiesForm"/>
</form-beans>
....
<action-mappings>
<action path="/welcome" forward="/Welcome.jsp"/>
<action name="ProjectPropertiesForm" path="/projectproperties"
input="ProjectProperties.jsp" type="myself.ProjectPropertiesAction"
scope="request" validate="true">
<forward name="success" path="/welcome.do"/>
<forward name="failure" path="/ProjectProperties.jsp"/>
</action>
....
I have built it based on the struts-blank.war sample (struts 1.2.7).
What am i doing wrong?
When i press a html link on welcome.jsp to href="projectproperties.do"
im sent
to back welcome.jsp again!? This is from the struts-config:
....
<form-beans>
<form-bean name="ProjectPropertiesForm"
type="myself.ProjectPropertiesForm"/>
</form-beans>
....
<action-mappings>
<action path="/welcome" forward="/Welcome.jsp"/>
<action name="ProjectPropertiesForm" path="/projectproperties"
input="ProjectProperties.jsp" type="myself.ProjectPropertiesAction"
scope="request" validate="true">
<forward name="success" path="/welcome.do"/>
<forward name="failure" path="/ProjectProperties.jsp"/>
</action>
....
I have built it based on the struts-blank.war sample (struts 1.2.7).
What am i doing wrong?