https://issues.apache.org/bugzilla/show_bug.cgi?id=56610

            Bug ID: 56610
           Summary: jsp:param empty value error
           Product: Tomcat 8
           Version: 8.0.8
          Hardware: Macintosh
                OS: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Jasper
          Assignee: dev@tomcat.apache.org
          Reporter: raffaele.trip...@gmail.com

Created attachment 31701
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31701&action=edit
stacktrace

I noticed a bug in tomcat 8.0.8 not present in 8.0.5: calling a jsp:include
using a jsp:param with empty value generates an exception (look at the attached
stacktrace).

This code produces exception
<jsp:include page="include.jsp">
    <jsp:param name="test" value="" />
</jsp:include>



Note that using a variable with empty value, no exception is thrown

This code doesn't produce exception
<c:set var="PARAM" value="" />
<jsp:include page="include.jsp">
    <jsp:param name="test" value="${PARAM}" />
</jsp:include>



It happens with tomcat 8.0.8, whilst tomcat 8.0.5 is not affected by this bug,
and it does not depend on the included file (in my tests, include.jsp was an
empty file)

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to