Web-based bug tracking

Q: Page cannot be displayed for the Help page. 
A: This happened only in WAS 5, there is a jsp complation error:
        3e821e84 WebGroup      E SRVE0026E: [Servlet Error]-[/jsp/help.jsp(7,80) Attribute  has no value]: 
        org.apache.jasper.compiler.ParseException: /jsp/help.jsp(7,80) Attribute  has no value
        at org.apache.jasper.compiler.JspReader.parseAttributeValue(JspReader.java:599)
        at org.apache.jasper.compiler.JspReader.parseTagAttributes(JspReader.java:719)
        at org.apache.jasper.compiler.Parser$Include.accept(Parser.java(Compiled Code))
        at org.apache.jasper.compiler.Parser.parse(Parser.java(Compiled Code))
        at org.apache.jasper.compiler.Parser.parse(Parser.java:1114)
        at org.apache.jasper.compiler.Parser.parse(Parser.java:1110)
        at org.apache.jasper.compiler.ParserController.parse(ParserController.java:344)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:226)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:130)
        at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.loadJSP(JspServlet.java:1018)
        at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:326)
        at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:358)
        at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:741)
        at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:839)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
        .............

  This error is related to a bug reported in bugs.sun.com/bugdatabase/view_bug.do?bug_id=4337052, which stated:

  The problem is that a JSP custom tag was specified with
  a String expression in the attribute value as:  attname="<%= ..."StringValue" %>" using
  double quotes to delimit the attribute value expression as well as a String within the expression.
  The JSP parser doesn't like this. 

  The way around this is to use single quotes to delimit the attribute value:
  attname='<%= ..."StringValue" %>'


* Reference brought to you by Bugzero, it's more than just bug tracking software!

Home - FAQs