Thanks Robert  .. Lemme check the same.


Robert Graf-Waczenski <r...@lsoft.com> 
07/09/2009 06:51 PM
Please respond to
"Struts Users Mailing List" <user@struts.apache.org>


To
Struts Users Mailing List <user@struts.apache.org>
cc

Subject
Re: <s:actionerrors> not displaying errors!






My first guess would be that you are not properly dispatching back to 
your input page. A closer look at your struts.xml would clarify this, 
though.

Robert

Kavita Mehta schrieb:
> Hi,
> I am using Struts 2.0  and I am not able to display the action errors in 

> my JSP.
>
> Action class code :
>
> if( ( getSelectedlocation() == null ) || 
getSelectedlocation().compareTo( 
> "" ) == 0 
>                                         && ( (getLocation() == null ) 
||( 
> getLocation().compareTo( "" ) == 0 )))
>                                 {
>                                         mLog.warn( "Location not 
> specified. Added Error message" );
>                                         addActionError( "Please specify 
a 
> Location for the message . " );
>                                 }
>
>
> JSP code :
>
> <tr>
>     <td align="left" valign="top"><p><s:actionerror id="err" /></p></td>
>   </tr>
>
>
> The error is added successfully as i can see from the logs but it is not 

> getting displayed  on the JSP ..any pointers ?
>
>
> Thanks,
> Kavita
>
>
>
>
>
> 
*****************************************************DISCLAIMER*****************************************************
>
> This message and/or attachment(s) contained here are confidential, 
proprietary to HUGHES SYSTIQUE and its customers. 
> Contents may be privileged or otherwise protected by law. The 
information is solely intended for the entity it is 
> addressed to. If you are not the intended recipient of this message, it 
is strictly prohibited to read, forward, 
> print, retain, copy or disseminate this message or any part of it. If 
you have received this e-mail in error, 
> please notify the sender immediately and delete the message.
>
> 
********************************************************************************************************************
>
>
> 



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






*****************************************************DISCLAIMER*****************************************************

This message and/or attachment(s) contained here are confidential, proprietary 
to HUGHES SYSTIQUE and its customers. 
Contents may be privileged or otherwise protected by law. The information is 
solely intended for the entity it is 
addressed to. If you are not the intended recipient of this message, it is 
strictly prohibited to read, forward, 
print, retain, copy or disseminate this message or any part of it. If you have 
received this e-mail in error, 
please notify the sender immediately and delete the message.

********************************************************************************************************************

Reply via email to