Question: Java | answer them all 1-Suppose that the name of a parameter is user, which is passed to a JSP. How to use an EL
Java | answer them all
1-Suppose that the name of a parameter is user, which is passed to a JSP. How to use an EL expression to access the value of this parameter in this JSP?
2-Suppose that we use the following two lines in a servlet to set values for the myval attribute, request.setAttribute("myvar", "value1"); session.setAttribute("myvar", "value2"); Then in the JSP forwarded by this servlet, how do we display the value of the at-tribute myvar in the session scope?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
