struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravi Garg" <Ravi_Gar...@infosys.com>
Subject RE: What is the default scope of an ActionForm.
Date Thu, 10 Jul 2003 11:04:56 GMT
I've tried this with my and used the same for at more than 1 screen but what happens is that
whenever it the property name is same as that already used in previous screen it automaticaly
populates that portion of the screen

-----Original Message-----
From: Shashank Dixit [mailto:Shashank_Dixit@datamatics.com]
Sent: Thursday, July 10, 2003 4:28 PM
To: Struts Users Mailing List
Subject: Re: What is the default scope of an ActionForm.


The default scope is REQUEST


----- Original Message -----
From: "Ravi Garg" <Ravi_Garg01@infosys.com>
To: <struts-user@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


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message