In my JSP, I passed a number of parameters inside the
JSTL core c:url tag.  This is the way I coded:

<c:url value="/myAction.do" var="theUrl">
<c:param name="param1" value="${user.fullName}"/>
<c:param name="param2" value="${user.hashID}"/>
</c:url>
<a href='<c:out value="${theUrl}"/>'>Click</a>

How do I retrieve the respective values of param1 and
param2 in MyAction.java?

String parameter1 = request.getParameter( "param1" );
String parameter2 = request.getParameter( "param2" );

It does not seem to be working.

__________________________________________________
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