Invalid standard action 错误

HTTP Status 500 - /RemoveJavaBean.jsp (line: 22, column: 9) Invalid standard action

type Exception report

message /RemoveJavaBean.jsp (line: 22, column: 9) Invalid standard action

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

exception

org.apache.jasper.JasperException: /RemoveJavaBean.jsp (line: 22, column: 9) Invalid standard action
	org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42)
	org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:443)
	org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:89)
	org.apache.jasper.compiler.Parser.parseStandardAction(Parser.java:1154)
	org.apache.jasper.compiler.Parser.parseElements(Parser.java:1451)
	org.apache.jasper.compiler.Parser.parse(Parser.java:138)
	org.apache.jasper.compiler.ParserController.doParse(ParserController.java:242)
	org.apache.jasper.compiler.ParserController.parse(ParserController.java:102)
	org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:198)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:373)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:646)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:728)

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


错误代码:

<jsp:useBean id="page_Teacher" scope="page" class="com.university.bean.Teacher"></jsp:useBean>
    <jsp:useBean id="request_Teacher" scope="request" class="com.university.bean.Teacher"></jsp:useBean>
    <jsp:usebean id="session_Teacher" scope="session" class="com.university.bean.Teacher"></jsp:usebean>
    <jsp:usebean id="application_Teacher" scope="application" class="com.university.bean.Teacher"></jsp:usebean>

修改为:

<jsp:useBean id="page_Teacher" scope="page" class="com.university.bean.Teacher"></jsp:useBean>
    <jsp:useBean id="request_Teacher" scope="request" class="com.university.bean.Teacher"></jsp:useBean>
    <jsp:useBean id="session_Teacher" scope="session" class="com.university.bean.Teacher"></jsp:useBean>
    <jsp:useBean id="application_Teacher" scope="application" class="com.university.bean.Teacher"></jsp:useBean>


你可能感兴趣的:(java,java,tomcat,Web,jsp,J2EE)