A perusal of the mailing list archives gives me the impression that there is
no way around printing out the error header and footers when using the
html:errors tag.  While I understand that the html:errors tag is to be used
mostly for printing form validation errors, what about those errors that are
generated in the Action, and I don't mean exceptions?  

For example, let's say the user is logging in.  In the Action , I have
business logic that validates the password against the db, and if after the
3rd try, I want to have an ActionError object created, forward the user on
to a generic error .jsp page, and display a message like "You've been locked
out".  Here no exception is thrown (it's not like the db connection is dead
or soemthing)  and  i want to take advantage of the locale feature, plus be
able to keep the design neat by putting all my error messages in
applicationResources file.  Anyone with suggestions?


Carl

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to