Struts2在web.xml,struts.xml配置中出现404错误,解决方案
来源:互联网 发布:怎样建数据库 编辑:程序博客网 时间:2024/05/17 09:18
在JSP开发中使用struts2框架,配置web.xml和struts.xml后,jsp文档运行都是404错误
找了很多方法,都不能解决问题,最终发现是struts包的配置问题,最新的struts2.5.8的版本与2.3之前的版本有很大不同
像xwork.core的包就被整合到Struts-dore包里面,这些都要专门的配置
但目前大部分struts.xml配置都是按照之前包来的
最终还是换回了2.2.3的包才能正常运行
若基本代码没问题的话,可以试试换回之前的包
0 0
- Struts2在web.xml,struts.xml配置中出现404错误,解决方案
- 关于Struts2在web.xml中配置后出现404错误的问题,完美解决方案!
- struts2 STRUTS.XML 配置错误
- struts2中web.xml配置struts.xml文件
- struts2 配置web.xml struts.xml
- 在web.xml中配置了struts2的filter后访问jsp出现404
- struts2在web.xml中配置详情
- struts2在web.xml中配置详解
- 在配置web.xml中 拦截错误
- Struts2-struts.xml之<result>配置错误
- 在Struts2 中 struts.xml的Action配置详解
- 在web.xml中配置404错误拦截
- web.xml中配置struts2
- J2EE项目web.xml文件中Struts2配置错误
- Struts2 在struts.xml配置Action
- Struts2 在Struts.xml配置包 package
- Struts2-action在struts.xml中的配置
- struts2 struts.xml配置
- JavaSE面试常问(1)
- tensorlayer layer加载model.npz
- python2.7中Matplotlib的安装和应用
- gson解析json
- JavaScritp[websocket]
- Struts2在web.xml,struts.xml配置中出现404错误,解决方案
- 原创:微信小程序入口猜想?
- 网络七层协议 五层模型 TCP连接 HTTP连接 socket套接字
- Hbase理论知识和动手实践
- 23种设计模式(4):建造者模式
- 使用java keytool证书工具生成安卓发布的证书 .keystore文件 步骤xiangjie
- Android Studio 把Library生成jar包
- SpringMVC在JSP中加载CSS等静态资源问题
- git常用指令