Check this page, http://cwiki.apache.org/WW/file-upload.html
Make sure you have all jar files and other properties they mentioned in it. -----Original Message----- From: sajidbigler [mailto:sajidbig...@gmail.com] Sent: Monday, March 16, 2009 4:47 PM To: user@struts.apache.org Subject: RE: Fileupload : Restricted contentType is working fine but no proper error message is shown to user Hi Ravindra, I have done it but really dont no why it dint got pasted properly on forum <action name="MMSUpload" class="com.teleparadigm.mms.application.mms.MMSUploadAction"> <interceptor-ref name="i18n" /> <interceptor-ref name="fileUpload"> image/png,image/gif,image/jpeg </interceptor-ref> <interceptor-ref name="basicStack" /> <interceptor-ref name="validation" /> <result name="input">/pages/ComposeMMS.jsp</result> <result name="error">/pages/ComposeMMS.jsp</result> <result>/pages/upload_success.jsp</result> </action> -- View this message in context: http://www.nabble.com/Fileupload-%3A-Restricted-contentType-is-working-fine- but-no-proper-error-message-is-shown-to-user-tp22535689p22536107.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org