Bug 56610 - jsp:param empty value error
Summary: jsp:param empty value error
Status: RESOLVED DUPLICATE of bug 56561
Alias: None
Product: Tomcat 8
Classification: Unclassified
Component: Jasper (show other bugs)
Version: 8.0.8
Hardware: Macintosh All
: P2 regression (vote)
Target Milestone: ----
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-09 18:37 UTC by Raffaele Tripodo
Modified: 2014-06-10 09:54 UTC (History)
0 users



Attachments
stacktrace (4.74 KB, text/plain)
2014-06-09 18:37 UTC, Raffaele Tripodo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raffaele Tripodo 2014-06-09 18:37:50 UTC
Created attachment 31701 [details]
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)
Comment 1 Mark Thomas 2014-06-10 09:54:51 UTC

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