tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 42693] JSP-Generation error with recursive tagfile structure
Date Fri, 24 Oct 2008 19:48:45 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=42693


Przemek Dyk <dyk@gazeta.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dyk@gazeta.pl
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




--- Comment #11 from Przemek Dyk <dyk@gazeta.pl>  2008-10-24 12:48:44 PST ---
if you invoke recursive twice tag the bug still occurs

example:

index.jsp
-------------------------------------------------------------
<%@ taglib prefix="u" tagdir="/WEB-INF/tags" %>
<html>
<head><title>taglib test</title></head>
<body>
<u:seq arg="5" max="12"/>
</body>
</html>


seq.tag
-------------------------------------------------------------
<%@ attribute 
    name="arg"
    required="true"
    type="java.lang.Integer"
%>
<%@ attribute
    name="max"
    required="true"
    type="java.lang.Integer"
%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="n" tagdir="/WEB-INF/tags" %>

<p><c:out value="${arg}"/></p>
<c:if test="${arg lt max}">
  <n:seq arg="${arg + 1}" max="${max}"/>
  <n:seq arg="${arg + 1}" max="${max}"/>
</c:if>


jdk: 1.6.0_07
tomcat: 6.0.18
os: Windows XP and Ubuntu 8.04.1


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


Mime
View raw message