Doubt Regarding Form Scope In Struts

2003-01-08 Thread ashokd
Hi,

I observed that Form scope is setting at actionMappings (in
struts-config.xml).

Is their any way to set the scope of the form.

Thanks in Advance,
Ashok.D


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Doubt Regarding Form Scope In Struts

2003-01-08 Thread SCOTT VENTER
You can also imply the form scope in your action class by using something like this:

Session Scope::
reqData.setSessionAttribute(DetailsForm, nextForm);

Request Scope::
reqData.setRequestAttribute(DetailsForm, nextForm);



 [EMAIL PROTECTED] 01/08/03 11:54pm 
Hi,

I observed that Form scope is setting at actionMappings (in
struts-config.xml).

Is their any way to set the scope of the form.

Thanks in Advance,
Ashok.D


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]

#
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material.  Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from any system and destroy and copies.
#


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


Re: Doubt Regarding Form Scope In Struts

2003-01-08 Thread Craig R. McClanahan


On Thu, 9 Jan 2003, ashokd wrote:

 Date: Thu, 9 Jan 2003 03:24:52 +0530
 From: ashokd [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Subject: Doubt Regarding Form Scope In Struts

 Hi,

 I observed that Form scope is setting at actionMappings (in
 struts-config.xml).

 Is their any way to set the scope of the form.


That's what the scope attribute on an action element is for.  Set it
to request or session to define which scope you want this form bean to
be created in.

 Thanks in Advance,
 Ashok.D

Craig



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]