Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts html:link problem" Watch "Struts html:link problem" New topic

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();
pageContext.setAttribute("paramsName", params);

<html:link name="paramsName" action="/"/>

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".

Consultant, Sima Solutions
I agree. Here's the link:
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
pageContext problem
use html:link pass two param