How to read form parameter data using JSP without using scriptlet

158 Views Asked by At

I want to read the form parameter data using scriptlet in #jsp. But i do not want to use any java code in JSP. Then do i need Expression Language or #JSTL or what?

1

There are 1 best solutions below

0
Oguzhan Cevik On BEST ANSWER

Just noting this here in case anyone else has a similar issue. If you're directing a request directly to a JSP, using Apache Tomcat web.xml configuration, then ${requestScope.attr} doesn't seem to work, instead ${param.attr} contains the request attribute attr.