On 10/7/05, Dustin Pilling <[EMAIL PROTECTED]> wrote: > > Hi, I'm new at this list and my experience in using the taglibs is not very > well. My Problem is when ever I place the following code ( <%@ taglib > uri="http://jakarta.apache.org/taglibs/rdc-1.0" prefix="rdc" %> ) in a jsp > file I will get an internal error from the tomcat. I've done all steps which > are mentioned in > http://jakarta.apache.org/taglibs/doc/rdc-doc/rdc-1.0/index.html#config. I'm > running tomcat 5.0.28 and my editing-tool is NitroX 3.0. <snip/>
[ Please continue this thread on [email protected], if needed. ] Sorry about the cut-n-paste documentation, it needs fixing. I will correct it ASAP (most probably, tomorrow). In the meantime, here is a quick recipe for Tomcat 5.x: 1) Drop taglibs-rdc.jar in webapp's WEB-INF/lib (the taglib mapping is implicit, no <taglib> element in web.xml required) 2) Make sure you use a Servlet 2.4 / JSP 2.0 web.xml (Question 1 in Taglibs FAQ wiki page [1] has the details) 3) Add the GrammarServlet (required) and RDCFilter (optional) mappings to the webapp's web.xml. You can grab the respective elements from the web.xml used in the rdc-examples.war [2]. Let me know if you have questions. -Rahul [1] Taglibs FAQ wiki page [ http://wiki.apache.org/jakarta-taglibs/FrequentlyAskedQuestions ] [2] rdc-examples.war web.xml (for GrammarServlet and RDCFilter) [ http://svn.apache.org/viewcvs.cgi/jakarta/taglibs/proper/rdc/trunk/examples/web/WEB-INF/web.xml?view=markup ] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
