<a href="/someAction.do?someAttribute=123">.

how can I pass object  through  query String ?
thanks & regards

--- "Apte, Dhanashree (Noblestar)"
<[EMAIL PROTECTED]> wrote:
> the same... my bad I wrote request.getParameter()  
> instead of
> request.getAttribute().
> :) Sorry!
> 
> The solution below should work for you...
> -----Original Message-----
> From: temp temp [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, March 31, 2005 1:18 PM
> To: Struts Users Mailing List
> Subject: RE: passing object in request from jsp to
> action
> 
> I want to use request.getAttribute("string",object);
> thanks & regards
> 
> --- "Apte, Dhanashree (Noblestar)"
> <[EMAIL PROTECTED]> wrote:
> > ... meaning in the Action you want to reference it
> by doing
> >     request.getParameter("someAttribute");
> > Is that correct? If so, on the jsp, in the link to
> your action, add 
> > that parameter as well. Instead of just
> >     <a href="/someAction.do">
> > use
> >    <a href="/someAction.do?someAttribute=123">.
> > 
> > Hope this helps,
> > Dhanashree.
> > 
> > -----Original Message-----
> > From: temp temp [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, March 31, 2005 1:11 PM
> > To: user@struts.apache.org
> > Subject: passing object in request from jsp to
> action
> > 
> > I want pass an object  from a jsp to an struts
> action  in request 
> > attribute.
> > 
> > I have a jsp it got  link to an action upon click
> the action is 
> > invoked. How can I pass object to this action 
> using request 
> > Attribute.
> > thanks & regards
> > 
> > 
> > 
> >             
> > __________________________________
> > Do you Yahoo!? 
> > Yahoo! Small Business - Try our new resources
> site!
> > http://smallbusiness.yahoo.com/resources/
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > 
> > 
> 
> 
>               
> __________________________________
> Do you Yahoo!? 
> Take Yahoo! Mail with you! Get it on your mobile
> phone. 
> http://mobile.yahoo.com/maildemo 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to