- This topic has 1 reply, 2 voices, and was last updated 21 years ago by
Riyad Kalla.
-
AuthorPosts
-
MikeMember– System Setup ——————————-
Operating System and version: Linux
Eclipse version: 2.12
Fresh Eclipse install (y/n): Y
MyEclipse version: 2.7
Eclipse JDK version: 1.42_03
– Message Body ——————————-These maybe obvious question but as a newbie I am struggling to find how to do certain things in the help /tutorial guides:
1) Which menu actions should I use to include an external library jar in my project. I am trying to include the xerces.jar and xalan.jar into my WebRoot/WEB-INF/lib folder so that I can reference them in a servlet. What is the MyEclipseIde way of doing this?
2) What is the correct way of creating Tag Library Descriptor files. Currently I am using File/New/File and giving the file the correct suffix, once I do this, the IDE recognises it as a tld file and validates it appropriately. I have a feeling that if the IDE recognises tld files than there must be a correct way of creating them?
thanks for your help
Riyad KallaMember1) Which menu actions should I use to include an external library jar in my project. I am trying to include the xerces.jar and xalan.jar into my WebRoot/WEB-INF/lib folder so that I can reference them in a servlet. What is the MyEclipseIde way of doing this?
This is a good question. If you need these JARs you should copy them into your WebRoot/WEB-INF/lib folder. MyEclipse should automatically add them to your build path, if it doesn’t, then you can load up the project properties (right click on project root) and go to Java Build Path, and select “Libraries” tab, and add it here. Click “Add JAR” And it will add a JAR from within your project.
2) What is the correct way of creating Tag Library Descriptor files. Currently I am using File/New/File and giving the file the correct suffix, once I do this, the IDE recognises it as a tld file and validates it appropriately. I have a feeling that if the IDE recognises tld files than there must be a correct way of creating them?
Again, another good question. We don’t currently provide templates for TLD files, so doing what you are doing is a perfectly fine way to create these files. That is a good point though and I’ll kick the idea back to the dev team. Thanks!
-
AuthorPosts