Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

request.getParameter

Status
Not open for further replies.

Kendel

Programmer
Apr 24, 2002
1,512
US
Hi jsp guru,

I'm trying to submit a form with some query strings, using method GET. The request.getParameter part work just fine but all the query stings before it are gone. I have something like this:

<form method="GET" action=" on....&paramn=<%=request.getParameter("CurrDate")%>">

If I use POST then I got all the param but CurrDate = null.

I think if I put the values of the params in the form fields and use getParameter for them all, it will do it.

My question is why the other params are gone?
Thanks
 
You are meant to put form parameters in the form tag - not in the action attribute of the form.

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
No, I want to put the form parameter in the action attribute of the form.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top