<html:link tag, how to retrieve paramId?

Discussions

Web tier: servlets, JSP, Web frameworks: <html:link tag, how to retrieve paramId?

  1. <html:link tag, how to retrieve paramId? (3 messages)

    Hi everybody,

    I am having hardtime solving a problem with Html tag library. Here is the code snippet.

    <html:link action="/XXXMethod" paramId="paymentId" paramName="eachPayment" paramProperty="id">
    Edit
    </html:link>

    I need to store "paramId" value in a list before the link gets clicked. Your suggestions are greatly appreciated. Thanks in advance.

    -Rohit
  2. Hi everybody,I am having hardtime solving a problem with Html tag library. Here is the code snippet.<html:link action="/XXXMethod" paramId="paymentId" paramName="eachPayment" paramProperty="id">Edit</html:link>I need to store "paramId" value in a list before the link gets clicked. Your suggestions are greatly appreciated. Thanks in advance.-Rohit
    Where is the list, on the server or on the browser?
  3. The list is on the same JSP page. I tried like this..

    //Array List declaration here
    <html:link action="/XXXMethod" paramId="paymentId" paramName="eachPayment" paramProperty="id">
    <c:out value="Edit"/>
    <% list.add(request.getParameter("paymentId"); %>
    </html:link>

    But nothing gets stored in the list.
  4. Please ignore the missing closing brace...