<%!
String str = \"prerna\";
%>
>
Request parameters can be passed by using
One can pass the parameter names and values to the forwarded file by using a tag
Sample e.g :
HTML :
tag is used to pass the name and values to the targeted file. These parameters will be retrieved by the targeted file by using request.getParameter() method. In this way one can pass and retrieve the parameters.
This page had a parameter forwarded to it:
Name: <%= request.getParameter("myParam") %>
Age: <%= request.getParameter("Age") %>