Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HTML FORM processing problem  RSS feed

 
Vishu Neelavalli
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ..
i have a small problem..for HTML for processing in java Application..
For the method "GET" we know..we can use the query string to 'establish a Connection'with the server and retrieve the results..as simple as we establish connection with any other sever..
how do we get the result of submission of a form that uses the method "POST" in HTML forms.?yes using a java aplication..
please answer at your earliest convenience..
thanks,
Vishu
 
mocca az
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
request.getParameter(String parameterName);
will get you anything regardless of what method GET/POST are you using. I am not sure if i answered your question. As a matter of fact, i am not even sure if i quite understand it.
 
Vishu Neelavalli
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for your time,
my application has to get the search results from the search engine..we can always establish a connection with a search engine by using the query string..(when the form in the search engine employes a GET method of sending the data..example Dictionary.com)
but when the form is using the method POST to send the data, we dont have an explicit query string to establish a connection and get the data..
How to do it in this case??
I hope i am clear this time..
thanks,
Vishu
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!