- 博客(3)
- 收藏
- 关注
原创 Struts2表单提交以及Struts.xml配置时名称空间问题
一、<s:a href="/emp_viewUpdate?id=%{#emp.id}">修改</s:a>使用这个标签时,基础没学好,href路径前加了一个“/”,导致报错,总结,去掉“/”就行了,回顾:绝对 URL - 指向另一个站点(比如 href="http://www.example.com/index.htm")相对 URL - 指向站点内的某个文件(href="i...
2018-06-18 11:57:42
402
翻译 ActionInvocation的作用
一个ActionInvocation实例代表一个action的执行状态,持有拦截器和将要执行的action的实例。ActionInvocation就是Action的调用者。ActionInvocation在Action的执行过程中,负责Interceptor、Action和Result等一系列元素的调度。Interceptor通过ActionInvocation可以完全的改变Action行为:不...
2018-06-07 12:21:42
2726
原创 Struts2配置时org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter找不到类的错误
启动Tomcat就报错误,程序无法启动,具体错误如下:严重: Exception starting filter struts2java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter也就是说,使用config build path后,Eclipse...
2018-06-07 12:14:53
393
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人