You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ryan Cornia <rc...@dced.state.ut.us> on 2001/06/11 20:44:20 UTC

checkLogon issue fixed, Still have ActionError substitution problem...

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