Tuesday, April 10, 2012

dsp:getvalueof


It creates a variable in a given scope or in page scope if none specified.


With  you can create a constantparam or a constant value.
Defining constant value:
The equivalent in JSP:
String age = “25″;
Defining a parameter in request scope:
The equivalent in JSP:
String age = request.getParameter(“customerAge”);
Defining a bean:

The equivalent in JSP:
Employee employee = new Employee();