This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Struts html:link problem  RSS feed

 
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
Boost this thread!