<c:set> tag and using request.getParameter()
843840Jul 28 2009 — edited Jul 28 2009I have a hidden input type parameter -
1. <input type="hidden" name ="action" id="action" value="<%=request.getParameter("action")%>"/>
on my jsp.
I need the value of this parameter. I am using it like this -
2. <c:set var="isActionCreate" value="<%=request.getParameter("action")%>"/>
but when the jsp gets compiled it gives me an error saying - weblogic.servlet.jsp.CompilationException: Failed to compile JSP /WEB-INF/pages/bank/addBankInformation.jsp
addBankInformation.jsp:59:63: This attribute is not recognized.
<c:set var="isActionCreate" value="{<%=request.getParameter("action")%>}" scope="request"/>
^----^
but the attribute gets recognized in the first statement above. Are there any restrictions on using the request.getParameter with the <c:set> tag??????????