Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts html:link problem

 
Ingoba Ningthoujam
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I put some request parameter in html:link action="..." name.My code is

<%
java.util.HashMap params = new java.util.HashMap();
params.put("nm1",a1);
params.put("nm2",a2);
pageContext.setAttribute("paramsName", params);
%>

<html:link name="paramsName" action="/xx.do"/>

How to get this parameters in Action class?
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The answer to this question is found in this link under the heading "link".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic