Originally posted by Yi Zou:
A newbie's question:
When using ActionForm to validate data, if there is no error generated, the controller pass the ActionForm obj to Action to further process the request.
My question is what if there is error, where does controller forward the request to?
if you use validate() method in ActionForm like this
When have some error in this method , you MUST config page/url for next page in application like this
Finally
you should be created mehod for check error in Action Class like this
Thai will help you.
SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand