wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes How to get the complete url of uploaded file in Struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How to get the complete url of uploaded file in Struts2" Watch "How to get the complete url of uploaded file in Struts2" New topic
Author

How to get the complete url of uploaded file in Struts2

Shweta Baranwal
Greenhorn

Joined: Jun 19, 2008
Posts: 18

Hi,

I am doing one application using struts2 where I've to upload a file and send it as an attachment to clients mail id as soon as submit button is clicked.

while uploading I'am getting only the name of file not the complete url then how can i set as attachment to mail.

please help me how can i get complete url of any uploaded file.
 
Consider Paul's rocket mass heater.
 
subject: How to get the complete url of uploaded file in Struts2
 
Similar Threads
struts2
Struts2
Download pdf file in struts2
migration to Struts2
Struts2