aspose file tools
The moose likes Struts and the fly likes Struts html:link problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Struts html:link problem" Watch "Struts html:link problem" New topic
Author

Struts html:link problem

Ingoba Ningthoujam
Ranch Hand

Joined: Dec 04, 2006
Posts: 90
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

Joined: Feb 15, 2005
Posts: 4864
The answer to this question is found in this link under the heading "link".


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Struts html:link problem
 
Similar Threads
use html:link pass two param
pageContext problem
hash map getting null or only last value
Sorting Lost when adding link to display tag
geting only l;ast vale from hashmap