Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get and set request.getParameter?

 
Awais Bajwa
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://abc/action.do?a=90

I have sent one request paramter "a" to my view JSP, how can I get and set in a hidden parameter so that next request from that JSP automatically includes that parameter in request.
I tried <html:hidden name="a"> but it didnt work.
Any idea???
Regards
Awais Bajwa
 
Samuel Cox
Ranch Hand
Posts: 96
Scala Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try

<html:form name="a" value='<%= request.getParameter() %>'/>
 
Wagner Danda Da Silva Filho
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Samuel,

I think you mean:

<html:hidden name="a" value='<%= request.getParameter() %>'/>

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic