• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

mapping libraries in web.xml?

 
emilio rossi
Ranch Hand
Posts: 47
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi everyone,
i build a servlet which is supposed to send mail through javamail, the servlet itself is well mapped in the web.xml file,
but i cant find anywhere in the net about how to tell tomcat which libraries the servlet needs (mail.jar ; activation.jar in my case).
i guess they have to be mapped in the web.xml file but dont know how, any help??
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. Just put them into the WEB-INF/lib folder of the web app.
 
emilio rossi
Ranch Hand
Posts: 47
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks,
the first time one thing is easier than i thought it
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic