struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Cornia" <rcor...@dced.state.ut.us>
Subject checkLogon issue fixed, Still have ActionError substitution problem...
Date Mon, 11 Jun 2001 18:44:20 GMT
Thanks Craig, that works perfectly! Now the checkLogon tag accepts the expression, and everything
works as expected.

Any idea on why the actionerror substitution is not working? Anyone else having problems with
it?

(RECAP:
> Also, I am trying to do substitution on an action error with the following -
> > 
> > errors.add(ActionErrors.GLOBAL_ERROR,
> >                      new ActionError("error.login", "test"));
> > 
> > When this runs, the error message is -
> > "Login Error: [Ljava.lang.Object;@158bf9 " 
> > 
> > Instead of 
> > "Login Error: test"
> > 
> > This is with Struts 1.0B3.
>
> In the resource file I have -
> 
> error.login=<li><b>Login Error: {0}</b></li> 
/RECAP)

Thanks,
Ryan



Mime
View raw message