You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ravi Garg <Ra...@infosys.com> on 2003/07/10 12:49:19 UTC
What is the default scope of an ActionForm.
Hi all,
can any of you tell me if I donnot specify any scope of Form in Struts-config.xml then for which scope does the instance of form persists??
For example:
<action-mappings>
<action path="/testing"
type="test.action.TestingAction"
name="TestingForm"
input="/jsp/Testing.jsp">
<forward name="success" path="/jsp/Test.jsp"/>
<forward name="invalid" path="/jsp/Testing.jsp"/>
</action>
</action-mappings>
What will be the scope of "TestingForm"?
Regards,
Ravi
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: What is the default scope of an ActionForm.
Posted by Shashank Dixit <Sh...@datamatics.com>.
The default scope is REQUEST
----- Original Message -----
From: "Ravi Garg" <Ra...@infosys.com>
To: <st...@jakarta.apache.org>
Sent: Thursday, July 10, 2003 4:19 PM
Subject: What is the default scope of an ActionForm.
> Hi all,
> can any of you tell me if I donnot specify any scope of Form in
Struts-config.xml then for which scope does the instance of form persists??
>
> For example:
> <action-mappings>
> <action path="/testing"
> type="test.action.TestingAction"
> name="TestingForm"
> input="/jsp/Testing.jsp">
> <forward name="success" path="/jsp/Test.jsp"/>
> <forward name="invalid" path="/jsp/Testing.jsp"/>
> </action>
> </action-mappings>
>
> What will be the scope of "TestingForm"?
>
> Regards,
> Ravi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org