You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2014/06/09 20:37:50 UTC

[Bug 56610] New: jsp:param empty value error

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.tripodo@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 56610] jsp:param empty value error

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56610

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Mark Thomas <ma...@apache.org> ---


*** This bug has been marked as a duplicate of bug 56561 ***

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

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