OCJP1.6, OCA 9i , IBM SOA Certified
Siva Meka wrote:Try using "Absolute URL" in sendRedirect methond instead of just "index.jsp".
You can use requestDispatcher.forward() method if you are redirecting within the same application with a relative url.
OCJP1.6, OCA 9i , IBM SOA Certified
Siva Meka wrote:But what is the solution for Amrut's problem here?
Where is he going wrong in his code?
When I googled for this problem, one of the stackoverflow answers was having a "" statement after response.sendredirect() call. Is that a correct solution?
Consider Paul's rocket mass heater. |