I did that. But the object I set in the Action before would be lost when the ActionForm's validate method find the errors and then return to the view.
Billy Ng ----- Original Message ----- From: "Dan Walker" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, September 04, 2002 5:59 PM Subject: RE: Detect errors in Action > Maybe your Action should just forward to a different page if an error > occurs. > -Dan > > -----Original Message----- > From: Billy Ng [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 04, 2002 6:38 PM > To: Struts Users Mailing List > Subject: Detect errors in Action > > > Hi folks, > > Would anybody tell me if I can detect any errors occur in the Action? It is > because i have some objects created in the Action. If there is error, I > need to set the objects into the request becuase the view displayed. > > Thanks! > > Billy Ng > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>