Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts 2 file upload interceptor for xls file

 
aman thind
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone guide me what's the allowed type entry in file upload interceptor if i want only xls files to get uploaded.
Thanks
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://struts.apache.org/2.x/docs/file-upload.html#FileUpload-FileTypes

Are you basically asking the mimetype for Excel files? That answer is available on the web.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic