Register / Login
EJB and other Java EE Technologies
How to get the complete url of uploaded file in Struts2
posted 7 years ago
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.
migration to Struts2
Download pdf file in struts2