I'm told there are differences b/w the .dtd's b/w now and when the tld's
were created.
Hopefully this is the problem. If it is. Why does the error
complain about the tags in the web.xml file?
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Robert Nicholson
> Sent: Friday, June 02, 2000 2:39 PM
> To: [EMAIL PROTECTED]
> Subject: Getting custom tags (mut) working from the Manning press book?
>
>
> Any get the forProperty and ifProperty tag examples working
> with Tomcat?
>
> I'm getting this error when I try the jsp's from the source deployed on
> tomcat 3.1
>
> org.apache.jasper.JasperException: Parse Error in the tag library
> descripto
> ement "web-app" does not allow "servlet" here.
> at
> org.apache.jasper.compiler.JspUtil.parseXMLDoc(JspUtil.java:156)
>
> this is the contents of my web.xml
>
> <?xml version="1.0" encoding="ISO-8859-1" ?>
> <!DOCTYPE web-app
> PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
> "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
> <web-app>
> <display-name>Web Development with JSP</display-name>
>
> <servlet>
> <servlet-name>faqs</servlet-name>
> <servlet-class>com.taglib.wdjsp.faqtool.FaqServlet</servlet-class>
> </servlet>
> <servlet-mapping>
> <servlet-name>faqs</servlet-name>
> <url-pattern>/faqs</url-pattern >
> </servlet-mapping>
>
> <servlet>
> <servlet-name>faqtool</servlet-name>
>
> <servlet-class>com.taglib.wdjsp.faqtool.FaqAdminServlet</servlet-class>
> </servlet>
> <servlet-mapping>
> <servlet-name>faqtool</servlet-name>
> <url-pattern>/faqtool</url-pattern >
> </servlet-mapping>
>
> <servlet>
> <servlet-name>FormHandlerServlet</servlet-name>
> <servlet-class>
> com.taglib.wdjsp.commontasks.FormHandlerServlet
> </servlet-class>
> </servlet>
>
> <servlet>
> <servlet-name>HelloWorldServlet</servlet-name>
> <servlet-class>
> com.taglib.wdjsp.arch.HelloWorldServlet
> </servlet-class>
> </servlet>
>
> <servlet>
> <servlet-name>FetchEmployeeServlet</servlet-name>
> <servlet-class>
> com.taglib.wdjsp.arch.FetchEmployeeServlet
> </servlet-class>
> </servlet>
>
> <taglib>
> <taglib-uri>/mut</taglib-uri>
> <taglib-location>/WEB-INF/tlds/mut.tld</taglib-location>
> </taglib>
> </web-app>
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets