Jsp: Invalid standard action

错误日志:
 
 
org.apache.jasper.JasperException: /index.jsp(6,6) Invalid standard action
	org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
	org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
	org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:88)
	org.apache.jasper.compiler.Parser.parseStandardAction(Parser.java:1265)
	org.apache.jasper.compiler.Parser.parseElements(Parser.java:1580)
	org.apache.jasper.compiler.Parser.parse(Parser.java:130)
	org.apache.jasper.compiler.ParserController.doParse(ParserController.java:245)
	org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
	org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:161)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:326)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:307)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:565)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:308)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
 
 
错误代码:
 
 
<jsp:userBean id="user" class="test.UserBean">
		<jsp:setProperty name="user" property="username" value="guizhiqinag"/>
</jsp:userBean>
 
 
 
 
修改为:
 
 
<jsp:useBean id="user" class="test.UserBean">
		<jsp:setProperty name="user" property="username" value="guizhiqinag"/>
</jsp:useBean>


 
 
 

你可能感兴趣的:(jsp,jsp,jsp)