struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apte, Dhanashree (Noblestar)" <DA...@jims.hctx.net>
Subject RE: passing object in request from jsp to action
Date Thu, 31 Mar 2005 19:15:31 GMT
... 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:miroconnect@yahoo.com] 
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message