Try request.getParameter()

-----Original Message-----
From: Sonam Belbase [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 11:43 AM
To: Struts Users Mailing List
Subject: quick html:link question


Hi,

If I've got

 <% String choice = "hello"; %>

<bean:define id="nameOfButton" value="<%=choice%>" />

<html:link action="dcIndicator"
    target="templateFrame"
    paramId="choice"
    paramName="nameOfButton">
    Click here
</html:link>

why does

request_.getAttribute("choice");

in my action retrieve null? Is this the right way to retrieve values
of params you pass with html:link to an action?

Thanks,
SB

--
NOTICE: If received in error, please destroy and notify sender.  Sender does
not waive
confidentiality or privilege, and use is prohibited.


"MMS <firstam.com>" made the following
 annotations on 10/22/2003 11:52:56 AM
------------------------------------------------------------------------------
"THIS E-MAIL MESSAGE AND ANY FILES TRANSMITTED HEREWITH, ARE INTENDED SOLELY
FOR THE USE OF THE INDIVIDUAL(S) ADDRESSED AND MAY CONTAIN CONFIDENTIAL,
PROPRIETARY OR PRIVILEGED INFORMATION.  IF YOU ARE NOT THE ADDRESSEE INDICATED
IN THIS MESSAGE (OR RESPONSIBLE FOR DELIVERY OF THIS MESSAGE TO SUCH PERSON)
YOU MAY NOT REVIEW, USE, DISCLOSE OR DISTRIBUTE THIS MESSAGE OR ANY FILES
TRANSMITTED HEREWITH.  IF YOU RECEIVE THIS MESSAGE IN ERROR, PLEASE CONTACT
THE SENDER BY REPLY E-MAIL AND DELETE THIS MESSAGE AND ALL COPIES OF IT FROM
YOUR SYSTEM."
==============================================================================


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

Reply via email to