D
dolobran
I am trying to get the key value from a Map and cast to a String.
I am getting a class cast exception.
Map queryArgs = request.getParameterMap();
urlSurveyIdInt = ((Integer) session.getAttribute("surveyid")
).intValue();
The intended behavior is to capture the URL parameter surveyid value
from a URL such as this:
http://myDomain.com/survey.jsp?surveyid=1
Can someone help?
Thanks in advance
I am getting a class cast exception.
Map queryArgs = request.getParameterMap();
urlSurveyIdInt = ((Integer) session.getAttribute("surveyid")
).intValue();
The intended behavior is to capture the URL parameter surveyid value
from a URL such as this:
http://myDomain.com/survey.jsp?surveyid=1
Can someone help?
Thanks in advance