File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get and set request.getParameter?

 
Awais Bajwa
Ranch Hand
Posts: 191
  • 0
  • 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
  • 0
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Samuel,

I think you mean:

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

 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic