In my result jsp page(view), how do I access a get parameter ?
I tried:
<%
String para = request.getParameter('whatever');
%>
but it didn’t work.
I know that I can use but…I like to get the value in jsp code.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It should, if it’s an actual parameter of the current request. Although you’d need to use double-quotes, since you’re writing Java code.
But why would you want to do this?