I've noticed a potential problem with the way errors are handled, and the
ErrorsTag class. I'm assuming I'm missing something. (I'm new to Struts)
Picture the following:
A jsp page, login.jsp. It has a form.
An action class, LoginAction.java.
A form class, LoginForm.java.
LoginAction does
[big snip ...]
Is there another way to accomplish the same thing, without tacking the error
on to the redirect URL?
Probably not, no. I can't see where you'd store the errors. In the session
would cause problems with synchronisation, and on the redirect URL
could cause buffer problems (with
2 matches
Mail list logo