That taglib.tld file is not a manifest file, so you cannot try to call
it one (thats why it tells you 'invalid header').

Unfortunately the only solution I know of is the brute force approach;
make a directory called META-INF, drop your .tld file in there, and
include it in the jar

for example:
  jar cf myJar.jar com/foo/*.class META-INF/*

Kumaravel Kandasami wrote:
>
> Hi!
>   How Can I add the taglib.tld file into the META-INF
> directory of the JAR File.
>   I tried jar cmf MyManifest X.jar *.class
>
> But it throws me java.io.IOException :Invalid header
> field.
>
> How Can I solve this problem
> U'r help is appreciated.
>
> Thanks,
> Kumar
>
> __________________________________________________
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to