• Post Reply Bookmark Topic Watch Topic
  • New Topic

Not a valid tag lib  RSS feed

 
Vishu Sharma
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have defined a custom tag but when try to run the jsp using the same in Weblogic5.1 an exception is raised. javax.servlet.ServletException: compilation of /tag/tag1.jsp failed: weblogic.utils.ParsingException: nested IOException: java.io.IOException: cannot resolve 'MyFirst.tld' into a valid tag library
I am attaching the code of the tld as well as jsp for review. Both the jsp and the tld file are in the same directory.
TLD FILE:

Pls. help in solving the problem.
Thanx in anticipation,
Vishal
[This message has been edited by maha anna (edited April 23, 2001).]
 
ajay gaur
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Put ur .tld file in the META-INF folder in document root dir.
Originally posted by Vishu Sharma:
[B]Hi,
I have defined a custom tag but when try to run the jsp using the same in Weblogic5.1 an exception is raised. javax.servlet.ServletException: compilation of /tag/tag1.jsp failed: weblogic.utils.ParsingException: nested IOException: java.io.IOException: cannot resolve 'MyFirst.tld' into a valid tag library
I am attaching the code of the tld as well as jsp for review. Both the jsp and the tld file are in the same directory.
TLD FILE:

Pls. help in solving the problem.
Thanx in anticipation,
Vishal
[This message has been edited by maha anna (edited April 23, 2001).][/B]

 
Cynthia Yao
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please check the error log on weblogic, it will show you that it looks under /WEB-INF folder first under the doc root. or the similiar information can be obtained through standard output if you use shell to run weblogic
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!