You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by Isiah Lau <is...@sanyoshk.com> on 2000/06/29 02:43:21 UTC

Custom Tag error

I got this error when running a jsp with custom tag.  Does anyone know where
is the problem?

org.apache.jasper.JasperException: Unable to open taglibrary /mut : Parse
Error in the tag library descriptor: Element "web-app" does not allow
"servlet" here.



Re: Custom Tag error

Posted by Hans Bergsten <ha...@gefionsoftware.com>.
Isiah Lau wrote:
> 
> I got this error when running a jsp with custom tag.  Does anyone know where
> is the problem?
> 
> org.apache.jasper.JasperException: Unable to open taglibrary /mut : Parse
> Error in the tag library descriptor: Element "web-app" does not allow
> "servlet" here.

Yes, it means that the order of the elements in the web.xml is incorrect.
Check the DTD, or the Servlet 2.2 spec, to see in which order they have to 
be specified.

Hans
-- 
Hans Bergsten		hans@gefionsoftware.com
Gefion Software		http://www.gefionsoftware.com