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