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!

Get and Post?

Status
Not open for further replies.

NJDrew

Technical User
Dec 21, 2001
31
US
Ok, I have a servlet that is generateing a html page that has values stored in hidden form fields. On that generated page is a button that is calling another servlet, which will request those values via request.getParameter. The problem is that on the first servlet the call for the second servlet is threw a [<Form method=Get action=bla,bla,bla] and it is not working. In the past I just had the button call a javascript function that did a [window.location = ], however now that Im requesting parameters I need to use the Get/Post methods. So my question is, is there another way use the Get method besides in a [<Form>] tag? &quot;Mistakes are the portals of discovery&quot;
James Joyce
 
Ok, I foundthe problem as to why the [<form>] tag wasn't working. Apparently one one of my late nights I deleted the return true; statement in the function that the submit was calling. Thank you all anyway. &quot;Mistakes are the portals of discovery&quot;
James Joyce
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top