Please help me ranchers....
Originally posted by seetharaman venkatasamy:
1. submit the form(jsp) using POST method to servlet
2. in servlet: get the form data and do some business logic(iserting ,etc to the DB)
3. then REDIRECT to the success.jsp[do not use REQUESTDISPATCHER]
please do this. after that if you refresh it wont affect DB
1.i do that
2.Yes i do
4.If i use response.sendRedirect method it shows an error saying that the file name is not valid....