Thank you Craig,

This and the corrected .tld file although I'm not sure if the validator
complains about the differences b/w the tld on this one since I fixed it
before thinking that was the problem. As reported by someone in the "author
online" section of the book's website.

It works fine now.

Q. Anybody got these examples running on Weblogic 5.1? I'll read the docs
later but I'll also try this later too. They support the 2.1 deployment
layout?

> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Craig R. McClanahan
> Sent: Friday, June 02, 2000 3:24 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Getting custom tags (mut) working from the Manning press
> book?
>
>
> Robert Nicholson wrote:
>
> > 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
> >
>
> What's happening is that Jasper is trying to parse your web.xml
> file, and is
> running into an error.  You have to define all your <servlet>
> entries before any
> <servlet-mapping> entries, as well as follow all the other rules
> in the DTD.  You
> have a servlet mapping out of order.
>
> In Tomcat 3.1, the servlet container did not apply the validating
> parser when
> reading the web.xml file, but it will in 3.2 and later versions.
> That's why the
> validation error didn't occur until you tried a JSP page with a
> custom tag library
> (which necessitates reading web.xml to find the <taglib> descriptors).
>
> Craig McClanahan
>
> ==================================================================
> =========
> 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

Reply via email to