I have written a method in my Servlet-class which sends an email with attachment. Now is the problem, the attachment file is always be sent even if I comment out the path for this file. I have tried everything possible one, but nothing changes. I use tomcan 6 and as said the methode is written in servlet.is the problem in tomcat or servlet or what do you think?

can somebody help?

The best thanks for the help in prerau.