This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I am using ActionDispatcher and EventActionDispatcher for my Action classes. For whatever reason, when I do this, the form is trying to be validated the initial time the JSP is being rendered. Because of this, it goes into a validation loop and throws a StackOverflow. If anyone knows why this is happening, it would be much appreciated.
Are you initially calling /AddUser.do? If so, it is performing validation because validate is set to true. I don't use dispatcher that often, but I think you would want one action to load the page (with validate="false") and use the dispatcher for the submittal (add, edit, etc..) and validate="true".
Joined: May 29, 2006
Tha's what I've done to get past the issue. I am assuming this is the only way if using auto validation?