![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
struts2
AsheSSS
我是一名JAVA、Android、python程序员
展开
-
Unable to load configuration
Exception starting filter struts2 Unable to load configuration. - bean - jar:file:/E:/tomcat-7.0.11/webapps/struts/WEB-INF/lib/struts2-core-2.2.3.jar!/struts-default.xml:29:72 at org.apache.struts2.d转载 2014-06-02 22:08:52 · 652 阅读 · 0 评论 -
Struts学习笔记(1)---Action处理请求参数
Action处理请求参数 struts2 和 MVC 定义关系 StrutsPrepareAndExecuteFilter : 控制器 JSP : 视图 Action : 可以作为模型,也可以是控制器 struts2 Action 接受请求参数 :属性驱动 和 模型驱动 Action处理请求参数三种方式 第一种 :Action 本身作为model对象,通过成员setter封装原创 2014-07-06 16:43:47 · 691 阅读 · 0 评论 -
1. struts2快速入门步骤
1.下载jar包 2.创建自己的工程,导入jar包 将struts2中的apps下的blank示例解压,后找到它的lib下的jar包. 3.编写一个hello.jsp页面 访问struts2入门 4.在web.xml中配置struts2的前端拦截器(Filter) struts2 org.apache.struts2.dispatcher.ng.filter.Stru原创 2015-03-17 10:44:05 · 531 阅读 · 0 评论 -
2、struts2的配置文件加载顺序和常用配置
lStruts2框架按照如下顺序加载struts2配置 default.properties 该文件保存在 struts2-core-2.3.7.jar 中 org.apache.struts2包里面 struts-default.xml该文件保存在 struts2-core-2.3.7.jar struts-plugin.xml该文件保存在struts-Xxx-2.3.7.jar str原创 2015-03-18 09:59:24 · 589 阅读 · 0 评论