MyException - 我的异常网
当前位置:我的异常网» Java Web开发 » [分多好办事]小弟我用TOMCAT来调试JSP访问JAVA BEAN

[分多好办事]小弟我用TOMCAT来调试JSP访问JAVA BEAN有如下异常

www.MyException.Cn  网友分享于:2013-09-12  浏览:11次
[分多好办事]我用TOMCAT来调试JSP访问JAVA BEAN有如下错误!
HTTP   Status   500   -  

--------------------------------------------

type   Exception   report

message  

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

exception  

org.apache.jasper.JasperException:   /login.jsp(11,5)   Invalid   standard   action
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:90)
org.apache.jasper.compiler.Parser.parseStandardAction(Parser.java:1249)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1559)
org.apache.jasper.compiler.Parser.parse(Parser.java:126)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:220)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


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


--------------------------------------------

Apache   Tomcat/5.0.28

------解决方案--------------------
你的aaaaaaaaaa.java编译成.class放在WEB-INF\classes\目录下面了没有呢?
------解决方案--------------------
这个问题有时候是很妖怪的

建议1:类里增加package
如:package org
然后放在classes\org下面
<jsp:usebean id= "aaaaaaaaaa1 " class= "org.aaaaaaaaaa "/>

建议2:类增加一个默认构造方法

建议3:还不行就去拜拜神佛。
我的异常网推荐解决方案:The server encountered an internal error () that prevented it from fulfilling this request.,http://www.myexception.cn/java-web/317.html

文章评论

软件开发程序错误异常ExceptionCopyright © 2009-2015 MyException 版权所有