| Author |
HTTP method
|
Fisher Daniel
Ranch Hand
Joined: Sep 14, 2001
Posts: 582
|
|
Dear all, I am new in JSP. HTTP methods are POST, PUT, GET, etc.. How do we use each of them in our JSP pages? thanks daniel
|
 |
Debashish Chakrabarty
Ranch Hand
Joined: May 14, 2002
Posts: 224
|
|
|
Normally we would override the corresponding doGet(), doPost() methods in a Servlet but you don't have to do that in a JSP. What do you intend do to do with these?
|
Debashish
SCJP2, SCWCD 1.4
|
 |
Kevin Mukhar
Ranch Hand
Joined: Nov 28, 2000
Posts: 83
|
|
|
JSPs do not normally concern themselves with the difference between POST and GET. If you REALLY need to do this, you can check the HTTP method with a method call to the implicit request object. The method is getMethod(). You can read about the details of this method in the JavaDoc for HttpServletRequest.
|
 |
 |
|
|
subject: HTTP method
|
|
|