Discussions

Web tier: servlets, JSP, Web frameworks: problem in html:link tag in struts plzzzzz help

  1. problem in html:link tag in struts plzzzzz help (1 messages)

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