struts1总结
来源:互联网 发布:集搜客网络爬虫 下载 编辑:程序博客网 时间:2024/05/17 23:11
struts1总结
5个核心组件
ActionServlet-->根据url转到Action------------------------------->struts-config.xml
配置文件
web.xml指定总控制器<servlet>,引入struts1的配置文件
struts-config.xml
1.<form-beans>
注册ActionForm
2.<action-mappings>
引用ActionForm,注册Action,ActionForward
核心组件执行流程
ActionServlet-->Action-->ActionForm-->ActionMapping-->ActionForward
5个核心组件
ActionServlet-->根据url转到Action------------------------------->struts-config.xml
ActionForm-->继承AtionForm的java类-->Form表单bean-->java
--><form-bean>,<action name="">引用---------------------------------------->struts-config.xml
Action-->继承Action的java类-------------------------------------->java
--><action>---------------------------------------------->struts-config.xml
ActionForward-->根据url转到jsp---------------------------------->struts-config.xml
--------------------------------------------------------------->java
ActionMapping-->包含在Ation中---------------------------------->java配置文件
web.xml指定总控制器<servlet>,引入struts1的配置文件
struts-config.xml
1.<form-beans>
注册ActionForm
2.<action-mappings>
引用ActionForm,注册Action,ActionForward
核心组件执行流程
ActionServlet-->Action-->ActionForm-->ActionMapping-->ActionForward
0 0
- struts1总结
- struts1 总结
- struts1总结
- struts1总结
- struts1总结
- struts1总结
- Struts1总结
- struts1总结
- Struts1配置文件总结
- struts1的总结
- struts1一点小总结
- struts1学习总结
- Struts1配置文件总结
- Struts1配置文件总结
- Spring整合Struts1总结
- Struts1 面试题目总结
- struts1.3总结
- struts1 知识总结
- 随机数练习2,和电脑玩石头剪刀布
- Android中dp、px转换案例分析
- 融合经典与创新 天梭2014超赞新品推荐
- CDMA2000系统中的鉴权分析
- 包装类的自动装箱,自动拆箱
- struts1总结
- 【C/C++学习】C语言基础知识积累
- ”/”应用程序中的服务器错误
- Cucumber 经验总结
- 流落在帝都的那些80后北漂IT人,你们的未来在哪儿
- Java8 Iterable接口源码阅读
- hadoop 算法设计Combiner vs in-Mapper Combining
- PLY文件读取与显示
- PHP设计模式——抽象工厂