FileDocCategorySizeDatePackage
MyTestAction.javaAPI DocExample1038Tue Sep 21 22:53:42 BST 2004com.oreilly.strutsckbk.ch13

MyTestAction

public class MyTestAction extends Action

Fields Summary
private Log
log
Commons Logging instance.
Constructors Summary
Methods Summary
public ActionForwardexecute(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)


       
                                  
                                  
                                  
      

        log.debug("Beginning of execute");
 
        try {
            // call some service
            // BusinessService.process();
        } catch (Exception e) {
            log.error(e.getMessage(), e);
        }
    
        log.info("Forwarding to success");
        return mapping.findForward("success");