ActionForm
Can anybody tell why we need to cast the ActionForm in Action Class
for eg:
If this CustomActionForm extends ActionForm
public class CustomActionClass extends Action
{
ActionForward excute(ActionMapping mapping,ActionForm,HttpServletRequest request,HttpServletResponse response)
{
// (Why we need to do this for getting a value since it is submitted in the CustomActionForm)
CustomActionForm caf = (CustomActionForm)form;
}
}
Arun
|