Package com.fengjing.framework.struts.form

Examples of com.fengjing.framework.struts.form.HelloWorldForm


public class HelloWorldAction extends MappingDispatchAction {
 
  public ActionForward execute(ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse response)
      throws Exception {

    HelloWorldForm helloWorldForm = (HelloWorldForm) form;
    helloWorldForm.setMessage("Hello World! Struts");

    return mapping.findForward("success");
  }
View Full Code Here

TOP

Related Classes of com.fengjing.framework.struts.form.HelloWorldForm

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.