• Post Reply Bookmark Topic Watch Topic
  • New Topic

Struts 2 file upload interceptor for xls file  RSS feed

 
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!