`
laorer
  • 浏览: 428032 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

struts异常_does not start with a "/" character

阅读更多

异常为 Path   logon.jsp   does   not   start   with   a   "/"   character  
要在struts-config.xml中修改

input="logon.jsp">  ==>input="/logon.jsp">  
  另外:  
  <forward   name="success"   path="/WEB-INF/jsp/index.jsp"   />  
  这一句是不合适的,通常JSP的服务器禁止通过WEB对WEB-INF的访问

分享到:
评论
1 楼 395003679 2009-06-02  
找上半天,也不知道哪错了,谢谢!!我是Struts初学

相关推荐

Global site tag (gtag.js) - Google Analytics