Can servlet attribute names contain a hyphen -?
-
Because, I tried to retrieve the attributes from the request set in the doPost in my servlet, b
doPost
You can use implicit object of jsp as
response.getAttribute("X-User"); response.getAttribute("Y-Code");
As you're setting attribute from servlet there is no need to get it via jstl.