• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Not a valid tag lib

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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).]
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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]


 
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic