Implementing File Upload component + Java Mail
Brief Intro : I have a form with some input fields. Upon submission of the form all the necessary information is submitted ro R/3 system and a mail is send to lets say administrators. I have Java Mail program for sending emails.
My requirement : I want the users to give the FileUpload option in the form so that they can select the file and that file should be attached to email whcih I am sending upon form submission.
1) How to check the path of the file where it gets uploaded.
2) Does it get uploaded on the Server where I deploy my application.
3) Any Solution/suggestion on how to implement the requirement stated above.