Thanks, this is what I was looking for!

Henrique.

-----Original Message-----
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 15, 2002 5: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:[EMAIL PROTECTED]]
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:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to