• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

子把瓢总

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

View Post

Struts1的核心对象

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

posted on 2015-03-02 14:13  子把瓢总  阅读(209)  评论(0)    收藏  举报

刷新页面返回顶部
 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3