about jar file

how we can use *.jar (having classes) with tomcat-5.5.20despite mentioning in web.xmlthanks & regards
[126 byte] By [farakha] at [2007-11-27 6:01:57]
# 1
put them in the "WEB-INF/lib" directory inside your webapp directory and you can use the classes in your project.
gimbal2a at 2007-7-12 16:42:35 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
but i think lib is for third party files. well let me try?
farakha at 2007-7-12 16:42:35 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
i putted into webapps/root/web-inf/lib but not working
farakha at 2007-7-12 16:42:35 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
try to copy jar files in CATALINA_HOME/common/lib directory
abhishekpandey_y2ka at 2007-7-12 16:42:35 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 5
> i putted into webapps/root/web-inf/lib but not workingNo, not in the Tomcat directory. You have to put them in the WEB-INF/lib of the actual web project and then redeploy it. E.g. ProjectName/WebContent/WEB-INF/lib.
BalusCa at 2007-7-12 16:42:35 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 6

> > i putted into webapps/root/web-inf/lib but not

> working

>

> No, not in the Tomcat directory. You have to put them

> in the WEB-INF/lib of the actual web project and then

> redeploy it. E.g. ProjectName/WebContent/WEB-INF/lib.

thanks BalusC. but it not work without web.xml. there are 53 URL servlets that i have to mentioned in web.xml.

there is no way to just map *.jar. I mean to say that despite decribing the 53 java files can we mention just one jar file

thanks & regards

farakha at 2007-7-12 16:42:35 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 7
> there are 53 URL servlets that i have to mentioned in web.xml. Okay. So start typing.
DrClapa at 2007-7-12 16:42:35 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 8
> > there are 53 URL servlets that i have to mentioned> in web.xml. > > Okay. So start typing.thats it. thanks DrClap for favorable reply :)thanks again
farakha at 2007-7-12 16:42:35 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...