Hi, Do you have plans to support taglibs using the xmlns attribute of a jsp page that is also an xml document? To use your second web.xml example, a similar page would read as:
Web.xml: <!DOCTYPE web-app SYSTEM "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"> <web-app> <taglib> <taglib-uri>utils</taglib-uri> <taglib-location>/WEB-INF/taglib.tld</taglib-location> </taglib> </web-app> JSP file <jsp:document xmlns:util="utils" xmlns:jsp="http://java.sun.com/JSP/Page" version="1.2"> xmlns:jsp=""/ <util:iterate id="testVar" type="String" collection="" > <jsp:getProperty name="testVar" property="bytes" /> </util:iterate> I posted a similar message a while back but received no response. >Hello, > >I've created the set of examples of working tei. I was experimenting >with IronFlare's utiltags (http://www.orionserver.com/tags/utiltags/). > >In all examples the web application root is D:\Work\TestGround\TestApp\ > >Here are the working examples: > >1. No modifications to web.xml > >utilitags.jar: D:\Work\TestGround\TestApp\WEB-INF\lib\utiltags.jar >D:\Work\TestGround\TestApp\u1.jsp: > ><%@ taglib uri="/WEB-INF/lib/utiltags.jar" prefix="util" %> > ><util:iterate id="testVar" type="String" collection="" > ><jsp:getProperty name="testVar" property="bytes" /> ></util:iterate> > > >Works OK. > >2. Web.xml: > ><!DOCTYPE web-app SYSTEM >"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"> > > ><web-app> > <taglib> > <taglib-uri>utils</taglib-uri> > <taglib-location>/WEB-INF/taglib.tld</taglib-location> > </taglib> ></web-app> > >UtilTags.jar in the same place > ><%@ taglib uri="/WEB-INF/taglib.tld" prefix="util" %> > ><util:iterate id="testVar" type="String" collection="" > ><jsp:getProperty name="testVar" property="bytes" /> ></util:iterate> > > >Works OK. > >What I found is not working, is the case when you unzip the jar into the >classes folder. I was just able to found the problem, which was caused >by URLClassLoader, which sometimes (?) requires all directory URLs to >have "/" at the end. I guess this may cause the problem with classes in >output dirs too. I've made the necessary changes. I'm very sorry for >inconvenience, but you need to wait the next build again. Meanwhile you >can try zip your tag libraries. > >Best regards, >Mike Aizatsky. >------------------------------ >JetBrains, Inc / IntelliJ Software >http://www.intellij.com >"Develop with pleasure!" _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
