Re: trouble with taglibs in xml syntax

2004-05-03 Thread Tomasz Dreßler
Thank you for your pations! Kris Schneider schrieb: As of JSP 1.2, the container makes packaged taglibs pretty easy to deal with. For details, you really should check out the JSP spec (or get a decent book). One of the things the container will do is inspect each JAR file in WEB-INF/lib and look

Re: trouble with taglibs in xml syntax

2004-05-03 Thread Kris Schneider
As of JSP 1.2, the container makes packaged taglibs pretty easy to deal with. For details, you really should check out the JSP spec (or get a decent book). One of the things the container will do is inspect each JAR file in WEB-INF/lib and look for TLD files in their /META-INF dirs. If a TLD contai

Re: trouble with taglibs in xml syntax

2004-05-03 Thread Tomasz Dreßler
Thank you for your answer. It works. Can you help me understand why :) Someone looks in all jar's for 'http://jakarta.apache.org/struts/tags-bean' namespace? When I am use JSP 2.0 what I sould take instead of element? I use tiles so I can't take as root element. Greetings Kris Schneider schrie

Re: trouble with taglibs in xml syntax

2004-05-03 Thread Kris Schneider
Try: xmlns:bean="urn:jsptld:/WEB-INF/tags/struts-bean.tld" But since JSP 1.2 you really don't need separate TLD files for packaged taglibs (like Struts and JSTL). This should also work: xmlns:bean="http://jakarta.apache.org/struts/tags-bean"; Then you can remove the TLD files from your app as w

trouble with taglibs in xml syntax

2004-05-03 Thread Tomasz Dreßler
Hi! I have problems to use the struts taglibs in jsp with xml syntax. When I use <%@ taglib uri="/WEB-INF/tags/struts-bean.tld" prefix="bean" %> the generated servlet contains the line '_jspx_dependants.add("/WEB-INF/tags/struts-bean.tld")' and everything is ok. But with the following syntax the