adspace
How to find out the name of the http method using jsp el?
Answer Posted / Himanshu Chauhan
To find out the name of the HTTP method using JSP EL (Expression Language), you can use the following syntax: ${headerName['REQUEST_METHOD']}. This assumes that you have an implicit variable 'headerMap' available, which maps request header names to values. If not, you may need to create a variable for it.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers