aspose file tools*
The moose likes Struts and the fly likes How to get and set request.getParameter? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to get and set request.getParameter? " Watch "How to get and set request.getParameter? " New topic
Author

How to get and set request.getParameter?

Awais Bajwa
Ranch Hand

Joined: Jan 16, 2001
Posts: 191
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

Joined: Nov 16, 2004
Posts: 96

Try

<html:form name="a" value='<%= request.getParameter() %>'/>
Wagner Danda Da Silva Filho
Ranch Hand

Joined: Mar 21, 2003
Posts: 80
Samuel,

I think you mean:

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



SCJP, SCWCD
 
 
subject: How to get and set request.getParameter?