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