Hi again all, I am trying to use ActionMessages to display errors. In this particular case I am trying to display an error when the username/password don't validate.
I am able to get the Message I want in question to display on the screen and now it's a matter of properly formatting the result.
I am trying to figure out how to use the errors.header, errors.prefix, errors.suffix and errors.footer in my code. (That way my errors will have consistent look to them.
I am learning this as I go, so this may not be the best manner in which to do this, but here is what I have cobbled together to this point:
in the
jsp:
In the action:
// msg is an ActionMessages variable
// errors is an ActionErrors variable
//the rest has been pieced together from various tutorials.
The result is that it displays my header and footer as preformatted when in actuality I am trying to get it to be interpreted as html to keep messages uniform.
Any critiques or suggestions as to how to do this better would greatly be appreciated.
[ March 01, 2007: Message edited by: A knibbs ]
[ March 01, 2007: Message edited by: A knibbs ]