I tried this way...Its working fine from the servlet to another JSP(success.jsp) but its not transferring control from index.jsp to logginServlet.java...Please help me
Joined: Nov 16, 2011
Thanks for your help. Now its working fine...When I wrote the dummy method of doGet and called doPost from it, it started working.But One more thing I didn't understood is, until I closed the eclipse and opened it, it was not working.Is there any way I can fix this ?
Even though the servlet may now react in the same way to a GET and a POST, other specification-conforming HTTP implementations along the way (like proxies, caches etc) may not; in fact, it is likely that they won't. So any code that treats GET and POST as if they were interchangeable is a bug waiting to happen. The HTTP specification (which you should read if you're serious about web development) is actually very clear about this.