Die Bereitstellung von action-parameter Wert in der struts-config in Struts1
Genau wie in Struts2 können wir einen parameter-Wert in struts.xml wie unten
<action name="myS2Action" class="demo.myS2Action">
<result>/myS2Page.jsp</result>
<param name="myS2Param">value</param>
</action>
In Struts1, gibt es einen Weg, um einige parameter Wert in struts-config.xml?
Habe ich folgende Einträge in struts-config.xml
<form-bean name="myS1Form" type="demo.MyS1Form"></form-bean>
<action path="/myS1Action" type="demo.myS1Action" name="myS1Form" scope="request" >
<forward name="success" path="/myS1Page.jsp"></forward>
</action>
InformationsquelleAutor Bilal Mirza | 2012-08-03
Du musst angemeldet sein, um einen Kommentar abzugeben.
In Strut1 Konfiguration, wir können
set-property
tag. Folgende Frage ist in Bezug auf die Nutzung vonset-property
tag.In Struts1, wie die Verwendung von set-property-tag in action-tag?
InformationsquelleAutor Bilal Mirza