From within my JSP page, how do I know whether the user performed a GET or POST request?

Alessandro A. Garbagnati

The easiest way is to use request.getMethod(). This method returns the name of the HTTP method with which this request was made, for example, GET, POST, or PUT.