File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Struts html:link problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
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://aspose.com/file-tools
 
subject: Struts html:link problem
 
Similar Threads
hash map getting null or only last value
Sorting Lost when adding link to display tag
geting only l;ast vale from hashmap
use html:link pass two param
pageContext problem