"Pernikoff, Ben" wrote:
> I am developing a custom taglib and added:
>
> <taglib>
> <taglib-uri>/myproject</taglib-uri>
> <taglib-location>/WEB-INF/tlds/xyzTags.tld</taglib-location>
> </taglib>
>
> to the web.xml file. I am getting the following error:
>
> Error: 500
> Location: /myproject/jsp/MyJsp.jsp
> Internal Servlet Error:
>
> org.apache.jasper.JasperException: Unable to open taglibrary /xyz: Parse
> Error in the tag library descriptor: Element "web-app" does not allow
> "context-param" here.
>
It means that you have a problem in your web.xml file -- it sounds like the
<context-param> is in the wrong place.
Why do you find out about it here? Because the JSP compiler has to read web.xml to
find the <taglib> directives, and it uses a validating parser.
>
> etc.
>
> Any clues?
>
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