u have to tweak the code a little  bit , Here is how 

<logic:present name="org.apache.struts.action.ERROR"     scope="request">
do Something ...
</logic:present>

Thnx
Suhas

----- Original Message ----- 
From: Vaibhav Patil <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 11:52 AM
Subject: Use of error in logic tag.


> Hello,
>     I can see the errors if I say <html:erros/>
> But I want to use 'errors' bean in logic tag. I want to perform some
> operation on presence of error.
> How can I achieve this??
>   e.g.
> <logic:present name="errors">
> do something.....
> </logic:present>
> 
> 
> The above lines of code does not work. Is there any other way of doing
> this??
> 
> thanks so much,
> 
> Vaibhav

Reply via email to