Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ajax Struts2 file upload

 
Harish Sahu
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Joe Ess
Bartender
Posts: 9300
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic