Hi Arut,
We don't usually set values in a
JSP if we follow the MVC
pattern. The view is meant for presentation only.
But if you wish to set values into the page, request, session or application, you could do so using JSTL <c:set>. For e.g.,
This way,
you should be able to set your value(s) in the JSP & use it for display.
HTH.
