Remain in same page even after submitting the form
Joined: Jul 16, 2012
I'm using a jsp to post data to a servlet, but after posting the data i want to stay back insame jsp.
2) I use the same button to post data to a database.
3) I want both the actions to be done at a time and should not go to the third jsp(servlet post result), but , should go to another jsp i use.
i'm able to handle these 2 things seperately but together i'm unable to do it. the data gets updated in database and shows a new line in the first text(that's my fault i'm using the redirect way) or moves the data from first textbox to another and doesn't do the data posting. please help me about doing it. below is the code piece i used to do it.