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

stevebr...@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #4 from stevebr...@yahoo.com ---
I can see how the behavior could be context dependent i.e.
<c:forEach items="${persons}" var="person">
  ${person.first} ${person.last}
</c:forEach>
seems acceptable to produce "JohnDoe" based on Mark's comments

The JSP example linked to by Konstantin could also be explained if the template
text is not considered to start until the opening tag of the <br> after the
${conf}, ignoring the space before it.

I'm less clear on
<span>${person.first} ${person.last}</span>
which also produces "JohnDoe". This would imply that the EL expressions are
delimiting template text. The JSP spec allows EL expressions to be part of
template text so it seems open to interpretation.

However,
<c:url value="http://xyz.com";>
  <c:param name="daddr">${person.first} ${person.last}</c:param>
</c:url>
also loses the space and this I believe should not since the directive only
applies to whitespace in the response output. So I'm reopening the defect.

-- 
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