i have 2 tags in one page to use.However, only one is getting executed... I get following error: Error: URI=null Line=5: Root element type is "taglib", but was declared to be "web-app". What could be the problem? <%@ page errorPage="errorpage.jsp" %> <%@ taglib uri="WEB-INF/jsp/mytaglib.tld" prefix="San"%> <html> <body> <San:IsNumericTag num="2.0"/> <%out.println("After the first");%> <San:SQLTag/> </body> </html>
posted 14 years ago
could you show us your tld, I think you could have done a mistake by indicating the doctype of web application instead of tag library.Let us see!