struts2 jpg文件上传失败 Content-Type not allowed 解决方案
org.apache.struts2.interceptor.FileUploadInterceptor - Content-Type not allowed: upload "upload__75549ca5_1239ddc5ce6__8000_00000161.tmp" image/pjpeg
原有配置:用ext+struts2上传时一直显示进度条不消失:
<action name="xxxAction" /> <result>/welcome.jsp</result></action>
<param name="allowedTypes"> image/bmp,image/png,image/gif,image/jpeg,image/jpg,image/x-png, image/pjpeg</param>