1.ActionServlet:接受客户通过“屏幕输入页面”发来的请求,充当调度器,指派一个Action对象去响应客户,
通过web.xml文件来配置
2.Action中最重要的方法: public ActionForward execute(ActionMapping mapping, ActionForm form,HttpServletRequest request,HttpServletResponse response)
ActionMapping ---> action标签
ActionForward ---> forward标签
获得ActionForward对象的方法:new ActionForward(path)
ActionMapping.findForward(name)
3.web.xml中有strutsServlet的配置信息.....
Tags:
java基础 struts