Hi,
I'm trting to send an attachment file using javaMail. My problem is if I set the whole path of the file (for example: C:/myFile.jsp), then it works. But not if I set a relative path.
This is the code:
Mailer.java
Ans I call this method from my
servlet OfferController.java
The exception that I get:
java.io.FileNotFoundException: \vrijblijvend_offerte.jsp (The system cannot find the path specified)
My structure:
|
|-WEB-INF
|-vrijblijvend_offerte.jsp
|
Thank you,
Abu
[ October 22, 2005: Message edited by: Azz Romaysa ]