Set the target for the form to a blank window (new window every time form is submitted), or a window with a name (submissions go to the same window if it is left open).
Joined: Nov 04, 2007
Hi Steve, Thanks for your inputs.
Though the solution given by you works, but it won't fit to my requirement as a whole, because in my case i'm doing a validation (of the input given in the form) in my servlet and then based on the validation result i may have to decide either to open a new window(if validation is successful) or else display an error message in the old window itself with out opening the new window.
Is there any way, where we can instruct the browser to do this based on the servlet response ??