A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Ajax Struts2 file upload
Joined: Mar 07, 2011
Apr 08, 2011 01:20:39
I have to upload a file in struts2 using ajax and jquery . Once the file is uploaded I have to display filesize, file type, file name and created/updated date in the same page.
Please suggest me , how to implement this.
Joined: Oct 29, 2001
Apr 08, 2011 08:40:39
The only problem I see is that I don't think you can get the file created date from a file (unless it's in the file, like in JPG metadata).
I'd think the Struts end is going to be the same as any other file upload. What have you tried so far?
How To Ask Questions On JavaRanch
I agree. Here's the link:
subject: Ajax Struts2 file upload
Fileupload + struts2
File Uploader with a progress bar in Struts2
Struts2 & XmlHttpRequest & input_file & Html5
how to download a file in struts2
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014