JSTL param implicit object

Posted by srinannapa on Stack Overflow See other posts from Stack Overflow or by srinannapa
Published on 2010-06-17T19:21:26Z Indexed on 2010/06/17 19:23 UTC
Read the original article Hit count: 283

Filed under:
|

Hi , i'm using struts 2 and jstl. facing problem with param implicit object.

Here is the test code :

<% request.setAttribute ("error", "Failed"); %>
<%= request.getAttribute("error") %>  ----------> Prints "Failed"

<c:out value="${param.error}"></c:out> ---------> Prints nothing??

Why param.error is not producing the result.

© Stack Overflow or respective owner

Related posts about java

Related posts about jstl