This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
how are you actually *executing* the application? are you invoking the servlet which then redirects the request to the result.jsp or you directly invoke the jsp?
If you don't mention the method explicitly, the Get method is what gets invoked by default. There are no hard and fast rules that you should not use Post method. It is your choice but they do have their own +ves and -ves. You may have a look at this thread.
Ok now i am using doPost() and invoking the servlet first ,saying get is not supporting this url then where to mention post method explicitly because I am not using html so how will I mention post method