No, attributes can be in request or session or application scope...  these
scopes are distinct and different.

--
Voytek Jarnot
Quidquid latine dictum sit, altum viditur.


> -----Original Message-----
> From: Jason Vinson [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 27, 2003 10:03 AM
> To: Struts Users Mailing List
> Subject: Re: RE: Re: Retaining values through multiple actions
> 
> 
> Aren't attributes in the Application Scope?  I suppose i 
> could immediately remove them in the next page...  Any 
> glaring issues with this logic?
> 
> 
> -------Original Message-------
> From: Jarnot Voytek Contr AU HQ/SC <[EMAIL PROTECTED]>
> Sent: 02/27/03 10:54 AM
> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
> Subject: RE: Re: Retaining values through multiple actions
> 
> > 
> > Would attributes not work for you in this case?
> 
> --
> Voytek Jarnot
> Quidquid latine dictum sit, altum viditur.
> 
> 
> > -----Original Message-----
> > From: Jason Vinson [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, February 27, 2003 9:29 AM
> > To: Struts Users Mailing List
> > Subject: Re: Re: Retaining values through multiple actions
> > 
> > 
> > hrmm....  is there way to append parameters on an action 
> > mapping from struts-config.xml?
> > 
> > 
> > -------Original Message-------
> > From: Ruud Steeghs <[EMAIL PROTECTED]>
> > Sent: 02/27/03 10:27 AM
> > To: Struts Users Mailing List <[EMAIL PROTECTED]>
> > Subject: Re: Retaining values through multiple actions
> > 
> > > 
> > > setParameter does not exist... 
> > parameters are retrieved from your form. 
> > 
> > if you generate links you can add parameters by
> > writing a url like "myURL?par1=value1&par2=val2
> > 
> > 
> > --- Jason Vinson <[EMAIL PROTECTED]> wrote:
> > > I am not seeing a setParameter(string, object)
> > > method in HttpServletRequest, which is why thought
> > > setting it as an Attribute was the way to go... 
> > > maybe it's too early, or I am just having an elder
> > > moment... where's setParameter?
> > > 
> > >   
> > > -------Original Message-------
> > > From: Becky Norum <[EMAIL PROTECTED]>
> > > Sent: 02/27/03 10:17 AM
> > > To: Struts Users Mailing List
> > > <[EMAIL PROTECTED]>
> > > Subject: Re: RE: Retaining values through multiple
> > > actions
> > > 
> > > > 
> > > > Attributes and parameters are distinct.
> > > Parameters are appended to the end of a request. 
> > > They can only be
> > > strings.
> > > Attributes are stored in a ServletContext. 
> > > Attributes can be any kind
> > > of object.
> > > 
> > > If you use setParameter to store, you must use
> > > getParameter to retrieve.
> > > If you use setAttribute to store, you must use
> > > getAttribute to retrieve.
> > > 
> > > To see your attribute, enumerate the attributes.
> > > 
> > > -- 
> > > Becky Norum
> > > Database Administrator
> > > Center for Subsurface Sensing and Imaging Systems
> > > (CenSSIS)
> > > Northeastern University
> > > <a target=_blank
> > >
> > href="http://www.censsis.neu.edu";>http://www.censsis.neu.edu</a>
> > > 
> > > 
> > > On Thu, 2003-02-27 at 09:25, Jason Vinson wrote:
> > > > I was under the impression that setting an
> > > attribute in a request would
> > > make it a parameter in a new page.  Am I wrong?
> > > > 
> > > > 
> > > > -------Original Message-------
> > > > From: Jarnot Voytek Contr AU HQ/SC
> > > <[EMAIL PROTECTED]>
> > > > Sent: 02/27/03 09:17 AM
> > > > To: 'Struts Users Mailing List'
> > > <[EMAIL PROTECTED]>
> > > > Subject: RE: Retaining values through multiple
> > > actions
> > > > 
> > > > > 
> > > > > Are you confusing attributes and parameters?
> > > > 
> > > > --
> > > > Voytek Jarnot
> > > > Quidquid latine dictum sit, altum viditur.
> > > > 
> > > > 
> > > > > -----Original Message-----
> > > > > From: Jason Vinson
> > > [mailto:[EMAIL PROTECTED]
> > > > > Sent: Thursday, February 27, 2003 8:12 AM
> > > > > To: Struts Users Mailing List
> > > > > Subject: Retaining values through multiple
> > > actions
> > > > > 
> > > > > 
> > > > > I am implementing a page by extending the
> > > DispatchAction 
> > > > > class.  I have a value that i pass on the
> > > request to the 
> > > > > second method, which does some logic then
> > > forwards to the 
> > > > > next jsp, but I can't retain the value on the
> > > request for the 
> > > > > new jsp.  I set it in the method using
> > > setAttribute, but when 
> > > > > i enumerate the parameterNames, i see no params
> > > passed.  What 
> > > > > am i missing?
> > > > > 
> > > > > TIA,
> > > > > Jason
> > > > > 
> > > > >
> > >
> > 
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > > > 
> > > > 
> > > >
> > >
> > 
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > > 
> > > > > 
> > > > 
> > > >
> > >
> > 
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > 
> > > 
> > > 
> > > 
> > >
> > 
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > 
> > > > 
> > > 
> > >
> > 
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > 
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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

Reply via email to