I need to pass the above value in below tag.
values are there in hiddenvalue, but if i use ${param.hiddenvalue} it is not recognizing the value and tried in many options.
${user} is approximately equivalent to session.getAttribute("user") (it's actually pageContext.findAttribute("user") )
Maybe to make it explicit: Try ${sessionScope.user}
In any case, yes, you can access session attributes from JSTL.
There is no point in taking a value from session, putting it into a hidden field and getting it into JSTL via a request parameter when you can just read it from the session in the first place.
this is supposed to be a surprise, but it smells like a tiny ad:
a bit of art, as a gift, that will fit in a stocking