zoukankan      html  css  js  c++  java
  • 标准动作中犯的错误,使用过程中忘记写结束符号所发生的错误

    例如

    错误写法: <jsp:getProperty property="userName" name="user" >

    正确写法:<jsp:getProperty property="userName" name="user" />

    导致的异常:

    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: /homework2-2.jsp(35,8) According to TLD, tag jsp:getProperty must be empty, but is not
    	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:132)
    	org.apache.jasper.compiler.Parser.parseBody(Parser.java:1626)
    	org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1004)
    	org.apache.jasper.compiler.Parser.parseGetProperty(Parser.java:907)
    	org.apache.jasper.compiler.Parser.parseStandardAction(Parser.java:1134)
    	org.apache.jasper.compiler.Parser.parseElements(Parser.java:1448)
    	org.apache.jasper.compiler.Parser.parse(Parser.java:133)
    	org.apache.jasper.compiler.ParserController.doParse(ParserController.java:216)
    	org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
    	org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:167)
    	org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
    	org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
    	org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
    	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
    	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
    	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.


  • 相关阅读:
    GPON和820.1p学习及资料(zt)
    modelsim(3)
    JTAG 学习 -SVF格式
    看来人工智能不可阻挡,将和网络与计算机一样服务于各行各业!
    【管理心得之二十六】职场中的“武功”
    【管理心得之二十五】组织中的骂名 ----------墙头草
    【管理心得之二十四】成功乃失败之母
    【管理心得之二十三】道是道,非常道。名可名,非常名。
    【管理心得之二十二】小人物 仰视 大授权
    【管理心得之二十一】管得少就是管得好
  • 原文地址:https://www.cnblogs.com/danmao/p/3864189.html
Copyright © 2011-2022 走看看