-
Why do we Typecast FormBean object with ActionForm in execute(...,...,...,..) method in Struts?
Public ActionForward execute(ActionMapping am,ActionForm af,Req,Res) { Myfornbean mf=(Myformbean)af; //why we are typrcasting here
-
Why do we pass ActionMapping object in Validate(...,..) method in struts?
Public ActionErrors validate(ActionMapping am,HttpServletRequest) { some validation logic... }