Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat Mapping to Libraries

 
Ranganath .S.Junpal
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone,

I have done a project using servlets, jsp, Xml. I have an Ant to deploy in the Tomcat/webapps. The Problem is that if i deploy the .war file created by the ant in different system. Its not able to find my Libraries.. I have different Libraries for getters/setters, JDBC connect establishment and etc. My Jsp/servlet files are not able to find or map itself in to these packages.. it says "com.blah.blah" is invalid.. where in com.blah.blah is my package..
I have set all the required path, classpath , and i have added the required .jar files etc. I am using Eclipse 3.1.2 with lomboz plugin. I am using tomcat 4.1.
When i copy the whole tomcat content to the targeted machine. My project works fine.. But still i wanna know how it is getting mapped..
I think we need to map this user defined library through the web.xml file . But I dont know how to go about it..
If any one is aware of this please help me..
Thank you
Regards
Ranganath.S
 
Mishra Anshu
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Add your jars in the WEB-INF/lib directory, if you have not .
 
Ranganath .S.Junpal
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
that done.. I have added all my .jar filed in web-inf/lib still it doesnt work..

Thank you
Ranganath.S
[ March 31, 2006: Message edited by: Ranganath .S.Junpal ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic