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.
Dear Ranchers, We are migrating to Struts2 and are planning to use the validator framework for all the client side validations. But I am facing a problem using it. I have a form which I submit. It goes through the validations configured thru the framework and one of the vaidations failed. I have routed it back to the original jsp on validation fail where I have the fielderror tag on top of the page and the error message is shown successfully. But then all data in the page goes off. As I understand this is because once the validation fails, control just goes back to the jsp without going into my action where I have a method to refetch all the data. So, instead of routing to the jsp on "input" result, I routed into the data fetcher part of my action. Now the data gets successfully fetched but I find I've lost my error message. Please help me out with my predicament. Is there any way I can access the field error object so that I can pass that back into the action when I call the data refetcher part? Thanks in advance. [ November 03, 2008: Message edited by: John Louis ]