• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat Mapping to Libraries

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic