This week's book giveaway is in the JavaScript forum.
We're giving away four copies of JavaScript Promises Essentials and have Rami Sarieddine on-line!
See this thread for details.
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 JavaScript Promises Essentials this week in the JavaScript 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to get the complete url of uploaded file in Struts2