File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes mapping libraries in web.xml? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "mapping libraries in web.xml?" Watch "mapping libraries in web.xml?" New topic
Author

mapping libraries in web.xml?

emilio rossi
Ranch Hand

Joined: Jul 01, 2011
Posts: 47

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
Marshal

Joined: Mar 22, 2005
Posts: 42635
    
  65
No. Just put them into the WEB-INF/lib folder of the web app.


Ping & DNS - my free Android networking tools app
emilio rossi
Ranch Hand

Joined: Jul 01, 2011
Posts: 47

thanks,
the first time one thing is easier than i thought it
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: mapping libraries in web.xml?