Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

2 custom tags in 1 page:Problem  RSS feed

 
Sanjay Deshpande
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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>
 
Ivan Matmati
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!