asked in JSP by (58.6k points)

1 Answer

We can use pageContext JSP EL implicit object to get the request object reference and use dot operator to get the HTTP method name in JSP page. The JSP EL code for this will be ${pageContext.request.method}.
answered by (58.6k points)

Java Interview Questions and Answers 2018