zno2

随笔分类 -  Apache Struts2

struts.xml action 默认方法和指定方法
摘要:https://struts.apache.org/docs/action-configuration.html#ActionConfiguration-ActionMethods The default entry method to the handler class is defined by 阅读全文

posted @ 2023-06-06 13:13 zno2 阅读(37) 评论(0) 推荐(0)

struts2 action 中autowired 不能注入
摘要:一、pom.xml 二、struts.xml org.apache.struts2.spring.StrutsSpringObjectFactory action 应该托管给spring 阅读全文

posted @ 2016-08-06 08:15 zno2 阅读(369) 评论(0) 推荐(0)

struts 拦截器
摘要:my-default.xml 说明:这是一个抽象的继承了struts-default.xml(位于struts2-core-xxxx.jar) 的配置文件,使用时需要被继承。 使用该文件配置的拦截器时应该这样用: my-view.xml 阅读全文

posted @ 2016-08-06 08:15 zno2 阅读(126) 评论(0) 推荐(0)

Apache Struts 2 Documentation Core Developers Guide
摘要:http://struts.apache.org/docs/core-developers-guide.html 阅读全文

posted @ 2016-08-06 08:15 zno2 阅读(148) 评论(0) 推荐(0)

Apache Struts 2 Documentation Big Picture
摘要:http://struts.apache.org/docs/big-picture.html 1. HttpServletRequest 穿越各个过滤器到达FilterDispatcher(这个已经不再使用,现在使用StrutsPrepareAndExecuteFilter) 2. 执行doFilt 阅读全文

posted @ 2016-08-06 08:15 zno2 阅读(210) 评论(0) 推荐(0)

配置 struts2 时掉进 web.xml 的坑
摘要:这个声明不好用 这个声明才是struts2 的声明 会产生的问题: ${} EL 表达式无法使用。 这些路径无法获取。 阅读全文

posted @ 2016-08-06 08:15 zno2 阅读(212) 评论(0) 推荐(0)

JSTL 、 OGNL 与 EL
摘要:JSTL: JSP Standard Tag Library OGNL:Object-Graph Navigation Language EL:Expression Language action 中 import org.apache.struts2.ServletActionContext; i 阅读全文

posted @ 2016-08-06 08:14 zno2 阅读(173) 评论(0) 推荐(0)

struts2 的特征
摘要:web.xml 阅读全文

posted @ 2016-08-06 08:14 zno2 阅读(1069) 评论(0) 推荐(0)

The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory
摘要:多了这两个包,范围改有compile 改成 provided 阅读全文

posted @ 2016-08-06 08:14 zno2 阅读(639) 评论(0) 推荐(0)

struts2-core-2.3.20.jar
摘要:核心配置位于该jar struts-default.xml struts-2.3.dtd 阅读全文

posted @ 2016-08-06 08:13 zno2 阅读(810) 评论(0) 推荐(0)

struts2 file
摘要:JavaBean 中: private File[] pic; private String[] picContentType; private String [] picFileName; setter getter Action中: JavaBean javaBean setter getter 阅读全文

posted @ 2016-08-06 08:13 zno2 阅读(98) 评论(0) 推荐(0)

导航