https://bz.apache.org/bugzilla/show_bug.cgi?id=62971

fuminz...@crd.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #8 from fuminz...@crd.com ---
A simple jsp below could demonstrate the issue behavior - when it is used with
javax.servlet.jsp.jstl-1.2.3.jar (and javax.servlet.jsp.jstl-api-1.2.1.jar)
instead of taglibs-standard-impl-1.2.5.jar and taglibs-standard-spec-1.2.5.jar.
 I have also created a simple webapp with such. - Some environment factors
might play - I am using a Windows 10 pro, with en-US/Eastern Time zone, which
might cause the non-constant CharacterEncoding to be set on the Response.

But now I am wondering maybe I should create a separate bug instead of reopen
this one - so that we could move forward instead of considering rolling it back
- what do you think?

<!--begin of jsp>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"; prefix="fmt" %>

<fmt:setLocale value='' scope="session"/>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd";>
<html>
<head>
<title>ShowBug</title>
</head>
<body>
    <div id="xsltnot"> c:import is not expected to get the contents in between
-<br>
        ---------------------------------------------<br>
        <c:import var="xslt" url="/sample.txt"/><br>
        ---------------------------------------------<br>
    </div>
    <br>
    <br>
    <div id="xslt"> Instead, we expect the c:import to get the contents into
the variable, which should be displayed in between *<br>
    ********************************************<br>
        <c:out value="${xslt}" escapeXml="true"/><br>
    ********************************************<br>
    </div>
</body>
</html>
<!-- end of jsp>

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