码迷,mamicode.com
首页 > 其他好文 > 详细

Struts1的核心对象

时间:2015-03-02 14:49:32      阅读:179      评论:0      收藏:0      [点我收藏+]

标签:

1、ActionServlet、ActionMapping、ActionForm、ActionForward

2、config = "/WEB-INF/struts-config.xml";

chainConfig = "org/apache/struts/chain/chain-config.xml";

configDigester = null;

convertNull = false;

internal = null;

internalName = "org.apache.struts.action.ActionResources";

registrations

servletMapping

servletName

3、ActionMapping继承至ActionConfig

ActionConfig :exceptions、forwards、moduleConfig、attribute、actionId、inherit、cancellableSet、cancellable、extensionProcessed、forward、include、input、multipartClass、name、parameter、path、prefix、roles、roleNames、scope、suffix、type、unknown、validateSet、validate、command、catalog

4、ActionForm:servlet、multipartRequestHandler

5、ActionForward:inherit、extensionProcessed、name、path、module、redirect、command、catalog

6、ActionServlet继承至HttpServlet,处理execute里边有四个参数,最后两个是HttpServeltRequest,HttpServeltResonpse

Struts1的核心对象

标签:

原文地址:http://www.cnblogs.com/shunliu-java/p/4308653.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!