Sébastien LABEY
2006-10-11 11:16:06 UTC
Hi,
I was used to specify a scope (request or session) for in the action
configuration in struts-config.xml with struts1.x, and I used it to know
where to store some parameters. So my struts-config.xml was like this :
<action path="/login"
type="xxx.xxx.LoginAction"
name="indexForm"
scope="request"
input="/common/index.jsp"
validate="false"
parameter="synthesize">
<forward name="success" path="/common/welcome.jsp"/>
<forward name="failure" path="/common/error.jsp"/>
</action>
But I can't find the "scope" attribute in the DTD for struts.xml in
Struts2... Is it available in a different way or no more available?
Thanks for your answers.
Sebastien
I was used to specify a scope (request or session) for in the action
configuration in struts-config.xml with struts1.x, and I used it to know
where to store some parameters. So my struts-config.xml was like this :
<action path="/login"
type="xxx.xxx.LoginAction"
name="indexForm"
scope="request"
input="/common/index.jsp"
validate="false"
parameter="synthesize">
<forward name="success" path="/common/welcome.jsp"/>
<forward name="failure" path="/common/error.jsp"/>
</action>
But I can't find the "scope" attribute in the DTD for struts.xml in
Struts2... Is it available in a different way or no more available?
Thanks for your answers.
Sebastien