首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Eclipse开发 >

高手,小弟我用Myeclipse做ssh整合出现的有关问题,简单的显示功能,老师们帮小弟我看看什么有关问题。多谢

2013-09-11 
高手,我用Myeclipse做ssh整合出现的问题,简单的显示功能,老师们帮我看看什么问题。谢谢type Exception repo

高手,我用Myeclipse做ssh整合出现的问题,简单的显示功能,老师们帮我看看什么问题。谢谢
type Exception report

message 

description The server encountered an internal error () that prevented it from fulfilling this request.

exception 

org.apache.jasper.JasperException: An exception occurred processing JSP page /showAll.jsp at line 30

27: </head>
28:  
29: <body>
30: <html:form action="/showAll">
31: <table border="1">
32: <tr>
33: <td>


Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:524)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:417)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


root cause 

javax.servlet.ServletException: javax.servlet.jsp.JspException: Cannot retrieve mapping for action /showAll
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:850)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)
org.apache.jsp.showAll_jsp._jspService(showAll_jsp.java:227)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


root cause 

javax.servlet.jsp.JspException: Cannot retrieve mapping for action /showAll
org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:759)
org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:443)
org.apache.jsp.showAll_jsp._jspService(showAll_jsp.java:116)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


note The full stack trace of the root cause is available in the Apache Tomcat/6.0.13 logs.



[解决办法]
Cannot retrieve mapping for action /showAll 
action配置文件里没找到/showAll这个action
[解决办法]
Cannot retrieve mapping for action /showAll 
意思是找不到/showAll 对应的action,
检查struts配置文件的action路径对不对啊,


XML code
<action [b]path[/b]="/????"<!-- 这个路径 -->            type="....." validate="false"> </action>
我的异常网推荐解决方案:An exception occurred processing JSP page,http://www.myexception.cn/j2se/33144.html
我的异常网推荐解决方案:The server encountered an internal error () that prevented it from fulfilling this request.,http://www.myexception.cn/java-web/317.html

热点排行