This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hello every one out there.This post is regarding custom tags in Jsp. Could any one help me regarding the following 1) How to create a jar file which consists of a class file(Tag Handler) and the taglib.tld.(Note- After creating the jar, if we unjar we should get a Meta-Inf directory under which .tld file should be placed.This where i am facing problem. The taglib.tld file is present in the Meta-Inf directory.Instead it consists some .MF file) 2)Where,With Respect to JavaWebServer2.0, should i place the jar & class file. Please answer the above questions Thanx in Advance Kanth
Tony Alicea Senior Java Web Application Developer, SCPJ2, SCWCD
Joined: Nov 22, 2008
First of all Thanx for responding. My question was (first one) how to jar the .tld and the class file(tag handler).After .jar file is created when we use jar fx,we should be able to see a Meta-Inf directory under which u should be able to see the taglib.tld file. I have use the following command jar -cf mytags.jar taglib.tld HelloWorld.class But when i unjared the mytags.jar the above said Meta-Inf directory doesn't contain taglib.tld but Manifest.mf file. I have been asking this because it is given in a tutorial at www.orionserver.com/taglibtut. So kindly correct me And Tony has said to place the files in Web-inf directory.But i couldn't find any such directory in JWS2.0. I asked the question with respect to JWS2.0 Clkanth [This message has been edited by clkanth (edited June 22, 2000).] [This message has been edited by clkanth (edited June 22, 2000).] [This message has been edited by clkanth (edited June 22, 2000).]