Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes Hi i have doubt in file upload intreceptor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Hi i have doubt in file upload intreceptor" Watch "Hi i have doubt in file upload intreceptor" New topic
Author

Hi i have doubt in file upload intreceptor

manish krishnan
Greenhorn

Joined: May 11, 2010
Posts: 26
Hi.

is this the right way to declare fileUpload intreceptor which accepts doc,text and pdf

Anbarasu Aladiyan
Ranch Hand

Joined: Jun 02, 2009
Posts: 182

This link have the complete list of MIME types. These can be used in "allowedTypes" tag.


A.A.Anbarasu
manish krishnan
Greenhorn

Joined: May 11, 2010
Posts: 26
Anbarasu Aladiyan thanks..
Anbarasu Aladiyan
Ranch Hand

Joined: Jun 02, 2009
Posts: 182

You are welcome
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hi i have doubt in file upload intreceptor
 
Similar Threads
Could not find a Content-Type for upload in struts2
Replacing an Interceptor in the Default Stack
Getting NullPointerException while uploading a file
Struts 2 Fileupload problem
Token Interceptor