struts.xml中写的是authorityInterceptor/xxx.jsp但是实际的文件结构是/authorityInteceptor/xxx.jspstruts2就报了404,所以遇到struts2报404的时候注意检查一下是不是这个问题
分类:
其他好文 时间:
2014-06-16 06:04:21
阅读次数:
212
1 index unique scan 效率最高,主键或唯一索引2 index fast full scan 读的最快,可以并行访问索引,但输出不按顺序3 index full scan 有顺序的输出,不能并行读索引。4 index range scan 在给定的区间查询5 index s...
分类:
其他好文 时间:
2014-06-15 19:41:17
阅读次数:
169
看到一个问题,报:CannotretrievedefinitionforformbeanallDisServFormonaction/allDisSer这种低级错误就是在struts配置文件里面提示formbean里面没有添加,可能你只写配置action,或者说form大小写了。或者说form你写错了。
分类:
其他好文 时间:
2014-06-13 21:18:26
阅读次数:
288
定义一个 package,然后其他package都继承 这个package
struts-global就 有了这个错误处理功能了然后再自己写个类struts.xml 1 2 3 --> 4 5 6 7 ...
分类:
其他好文 时间:
2014-06-12 22:04:47
阅读次数:
215
定义全局结果处理在struts.xml中 1 2 5 6 7 8 --> 9 10 11
12 errorProcessor13 14 1...
分类:
其他好文 时间:
2014-06-12 20:39:12
阅读次数:
291
在使用DMI(动态方法调用)的时候要注意struts.xml配置时要把不然会出现错误完整示例代码struts.xml
/MyPath.jsp ...
分类:
其他好文 时间:
2014-06-12 10:34:24
阅读次数:
233
struts2/WEB-INF/web.xml blk struts2
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter struts...
分类:
其他好文 时间:
2014-06-12 10:26:19
阅读次数:
223