You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Chris Hardin <CH...@emageon.com> on 2003/05/15 15:56:31 UTC

Anyone know why doesn't work on an error page?


  Anyone know why this doesn't workm on my error page
<c:out value="${exception}" />

and this does . . .

<%= exception %>

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Anyone know why doesn't work on an error page?

Posted by Kris Schneider <kr...@dotech.com>.
<c:out value='${requestScope["javax.servlet.jsp.jspException"]}'/>

or:

<c:out value='${requestScope["javax.servlet.error.exception"]}'/>

exception is a scripting variable, not a scoped attribute.

Quoting Chris Hardin <CH...@emageon.com>:

> 
> 
>   Anyone know why this doesn't workm on my error page
> <c:out value="${exception}" />
> 
> and this does . . .
> 
> <%= exception %>

-- 
Kris Schneider <ma...@dotech.com>
D.O.Tech       <http://www.dotech.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org