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 6671] - Simple custom tag example uses old declaration style
Date Fri, 07 Jun 2002 14:39:11 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6671>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6671

Simple custom tag example uses old declaration style





------- Additional Comments From bob@jadn.com  2002-06-07 14:39 -------
Hi.  Couldn't find who was using webapps/example/jsp/source.jsp, but I
updated that also.   Here is my patch.   Can someone review and apply this?

Index: jakarta-tomcat-4.0/webapps/examples/WEB-INF/web.xml
===================================================================
RCS file: /home/cvspublic/jakarta-tomcat-4.0/webapps/examples/WEB-INF/web.xml,v
retrieving revision 1.21
diff -u -r1.21 web.xml
--- jakarta-tomcat-4.0/webapps/examples/WEB-INF/web.xml 4 Apr 2002 20:30:34
-0000       1.21
+++ jakarta-tomcat-4.0/webapps/examples/WEB-INF/web.xml 7 Jun 2002 14:17:13
-0000
@@ -169,24 +169,6 @@
         </url-pattern>
     </servlet-mapping>
 
-    <taglib>
-        <taglib-uri>
-          http://jakarta.apache.org/tomcat/debug-taglib
-        </taglib-uri>
-        <taglib-location>
-           /WEB-INF/jsp/debug-taglib.tld
-        </taglib-location>
-    </taglib>
-
-    <taglib>
-        <taglib-uri>
-          http://jakarta.apache.org/tomcat/examples-taglib
-        </taglib-uri>
-        <taglib-location>
-           /WEB-INF/jsp/example-taglib.tld
-        </taglib-location>
-    </taglib>
-
     <resource-ref>
       <res-ref-name>mail/Session</res-ref-name>
       <res-type>javax.mail.Session</res-type>
Index: jakarta-tomcat-4.0/webapps/examples/jsp/simpletag/foo.jsp
===================================================================
RCS file:
/home/cvspublic/jakarta-tomcat-4.0/webapps/examples/jsp/simpletag/foo.jsp,v
retrieving revision 1.3
diff -u -r1.3 foo.jsp
--- jakarta-tomcat-4.0/webapps/examples/jsp/simpletag/foo.jsp   20 Sep 2001
17:48:49 -0000      1.3
+++ jakarta-tomcat-4.0/webapps/examples/jsp/simpletag/foo.jsp   7 Jun 2002
14:17:13 -0000
@@ -4,7 +4,7 @@
   reserved.
 -->
 <body>
-<%@ taglib uri="http://jakarta.apache.org/tomcat/examples-taglib" prefix="eg"%>
+<%@ taglib uri="/WEB-INF/jsp/example-taglib.tld" prefix="eg"%>
 
 Radio stations that rock:
 
Index: jakarta-tomcat-4.0/webapps/examples/jsp/source.jsp
===================================================================
RCS file: /home/cvspublic/jakarta-tomcat-4.0/webapps/examples/jsp/source.jsp,v
retrieving revision 1.2
diff -u -r1.2 source.jsp
--- jakarta-tomcat-4.0/webapps/examples/jsp/source.jsp  20 Mar 2002 17:34:30
-0000      1.2
+++ jakarta-tomcat-4.0/webapps/examples/jsp/source.jsp  7 Jun 2002 14:17:13
-0000
@@ -1,4 +1,3 @@
-<%@ taglib uri="http://jakarta.apache.org/tomcat/examples-taglib"
-        prefix="eg" %>
+<%@ taglib uri="/WEB-INF/jsp/example-taglib.tld" prefix="eg"%>
 
 <eg:ShowSource jspFile="<%= request.getQueryString() %>"/>

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


Mime
View raw message