You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ashish Kulkarni <ku...@yahoo.com> on 2002/09/10 01:07:30 UTC

ActionErrors and error message question ASAP help needed

Hi,
In my application error messages are sent by a legacy
application, and dont come from properties file, so
how can i put these messages in my ActionErrors class
so i can display them on jsp,
for example how can i do this??
in my code i have 
 ActionErrors errors = new ActionErrors();
String message="message from legacy
application";//suppose this is the message that comes
from legacy application
errors.add(ActionErrors.GLOBAL_ERROR,new
ActionError(message));
but i get error when i do this, like some thing
relacted to hashtable or hashmap..
so how can i make this work



=====
A$HI$H

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

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


ActionErrors and error message from legacy system help needed

Posted by Ashish Kulkarni <ku...@yahoo.com>.
> Hi,
> In my application error messages are sent by a
> legacy
> application, and dont come from properties file, so
> how can i put these messages in my ActionErrors
> class
> so i can display them on jsp,
> for example how can i do this??
> in my code i have 
>  ActionErrors errors = new ActionErrors();
> String message="message from legacy
> application";//suppose this is the message that
> comes
> from legacy application
> errors.add(ActionErrors.GLOBAL_ERROR,new
> ActionError(message));
> but i get error when i do this, 
> so how can i make this work
> 
> 
> 
> =====
> A$HI$H
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Finance - Get real-time stock quotes
> http://finance.yahoo.com
> 
> --
> To unsubscribe, e-mail:  
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 


=====
A$HI$H

__________________________________________________
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute

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