struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ravindra" <ravin...@btpsoft.com>
Subject RE: Fileupload : Restricted contentType is working fine but no proper error message is shown to user
Date Mon, 16 Mar 2009 11:20:43 GMT
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:sajidbigler@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-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message