摘要: 在struts.xml配置文件当中packet有一个属性字段namespace,这里必须详细了解一下,他的作用是可以让不同的packet里面包含相同action名称 一般情况,如果没有namespace属性字段的默认为"",会被最后才搜索 如果有两个相同的package,他们里面有相同的方法,有na 阅读全文
posted @ 2017-02-05 23:49 长命百岁 阅读(11607) 评论(1) 推荐(0) 编辑
摘要: 在编写web app的时候,我遇到这么的一个异常在,我的web.xml里面配置了一个过滤器,org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter 但是在tomcat运行的时候居然说,class not found, 阅读全文
posted @ 2017-02-05 12:17 长命百岁 阅读(311) 评论(0) 推荐(0) 编辑