File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
How to get the complete url of uploaded file in Struts2
Joined: Jun 19, 2008
Feb 17, 2009 23:14:12
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:
subject: How to get the complete url of uploaded file in Struts2
Download pdf file in struts2
migration to Struts2
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014