Phani wrote:
> Here is my code in the JSP page:
> 
> <bean:define id="param1" name="stockingStoreSalesReviewForm" 
> property="storeNumber"/>
> 
> <bean:define id="param2" name="stockingStoreSalesReviewForm" 
> property="storeName"/>
> 
> <%
>    java.util.HashMap params = new java.util.HashMap();
>    params.put("storeNo",param1);
>    params.put("storeName",param2);
>    pageContext.setAttribute("storeInfo", params);
> %>
> 
> <html:link action="/partDetailView"
> paramName="storeInfo" scope="page"> Click Here
> </html:link>

You want to specify the Map under the attribute "name", not "paramName", so:

<html:link action="/partDetailView" name="storeInfo" scope="page">Click 
Here</html:link>

See - 

http://struts.apache.org/userGuide/struts-html.html#link#

Cheers,

-- 
Bob Arnott



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

Reply via email to