Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

does html link provide

 
lee anthony
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was trying to pass multiple parameter using html link
.. can anybody help with some piece of code

Thanks in advance
 
Sheetal Sachdev
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I did this using some script in my jsp, here is a snippet of my code...
<td>
<bean efine id="moduleId" name="moduleBean" property="moduleId" />
<bean efine id="username" name="moduleBean" property="studentUsername" />
<%
java.util.HashMap params = new java.util.HashMap();
params.put("moduleId", moduleId);
params.put("username", username);
pageContext.setAttribute("paramsMap", params%>
<html:link page="/question.do?action=Question1" name="paramsMap">
<bean:message key="studentList.evaluate"/>
</html:link>
</td>
hope this helps
thanks
Sheetal
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic