Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

using doGet and doPost in a jsp

843835Jul 1 2002 — edited Jul 1 2002
Hi, I have not clear about which method is called in a jsp page, well, I think it's _jspService, but I would like to know how to instruct my jsp to execute doPost or doGet depending on the method used by the calling form. Should I call request.getMethod() first? But request in a Jsp is a ServletRequest, not a HttpServletRequest. Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 29 2002
Added on Jul 1 2002
1 comment
135 views