aspose file tools*
The moose likes Struts and the fly likes Struts 2 file upload interceptor for xls file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 file upload interceptor for xls file" Watch "Struts 2 file upload interceptor for xls file" New topic
Author

Struts 2 file upload interceptor for xls file

aman thind
Ranch Hand

Joined: Jun 29, 2007
Posts: 71
Can anyone guide me what's the allowed type entry in file upload interceptor if i want only xls files to get uploaded.
Thanks


Aman Thind
SCJP,SCWCD
JAVA utte mar JAVA,mit JAVA
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts 2 file upload interceptor for xls file