Hi friends,
I am using URLConnection to connect to third party page. The code is as follows
This form submits to the specified url in the action
My problem is I want to access the values of this form after it submits, in the same
java file.
Right now I am parsing the form in the while loop and retrieving the values.(that is bad approach)
I have a solution is that to shift this code into a
servlet and mention action="http://ourhomepage.com/SomeServlet", I think this would solve the problem.
But if anyone knows a better approach for getting the data ... please do share it with me.
Is it possible to communicate with same connection multiple times?
Regards
Atul