How to get a get parameter in Struts 2?
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.
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?
精彩评论