hi every body i have a problem i have to pass two dynamic variable to next page using html:link tag how can i send it
eaxmple i has link to
"emp.jsp?name=<% empName%>&&option=yes"
i want this in html:link tag
Discussions
Web tier: servlets, JSP, Web frameworks: problem in html:link tag in struts plzzzzz help
-
problem in html:link tag in struts plzzzzz help (1 messages)
- Posted by: suresh y
- Posted on: January 18 2005 04:35 EST
Threaded Messages (1)
- problem in html:link tag in struts plzzzzz help by Kishore Senji on January 19 2005 16:50 EST
-
problem in html:link tag in struts plzzzzz help[ Go to top ]
- Posted by: Kishore Senji
- Posted on: January 19 2005 16:50 EST
- in response to suresh y
Take a look at http://struts.apache.org/userGuide/struts-html.html#link
Use a map to pass in multiple query params.
<%
Map params = new HashMap();
params.put("name", empName);
params.put("option", "yes");
pageContext.setAttribute("params", params);
%>
<html:link action="/action" name="params">link</html:link>