You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Chappell, Simon P" <Si...@landsend.com> on 2002/07/15 23:14:38 UTC

Welcome back Mark!

Man it's been quiet around here!

Any good tales to tell?

Simon

>-----Original Message-----
>From: Galbreath, Mark [mailto:Galbreath@tessco.com]
>Sent: Monday, July 15, 2002 4:06 PM
>To: 'Struts Users Mailing List'
>Subject: RE: html:errors ActionErrors accessible as scripting variable?
>
>
><%
>ActionErrors ae = ( ActionErrors) request.getAttribute( 
>Action.ERROR_KEY);
>boolean err = false;
>if( ae != null) { err = true;	}
>%>
>
><% 
>if( err) { do_something }
>%>
>
>Mark (back from Amsterdam)
>
>-----Original Message-----
>From: Chang, Henrique [mailto:Henrique.Chang@gs.com]
>Sent: Monday, July 15, 2002 4:46 PM
>To: 'Struts Users Mailing List'
>Subject: html:errors ActionErrors accessible as scripting variable?
>
>
>I have JSP page that should determine whether there are errors 
>or not in
>order to display certain parts of the page.
>So, is there a way to access the ActionErrors object in a JSP 
>as a scripting
>variable, or even better, a tag lib structure so that I can 
>check for the
>existence of the ActionErrors instance in the JSP page?
>
>Thanks,
>Henrique
>
>--
>To unsubscribe, e-mail:
><ma...@jakarta.apache.org>
>For additional commands, e-mail:
><ma...@jakarta.apache.org>
>
>--
>To unsubscribe, e-mail:   
<ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>