Please ensure that you have included the required dependencies for this optional feature. (See core/pom.xml)
Wiki Markup |
---|
{snippet:id=description|javadoc=true|url=org.apache.struts2.interceptor.FileUploadInterceptor} |
...
Setting parameters example:
Code Block | ||||
---|---|---|---|---|
| ||||
<interceptor-ref name="fileUpload">
<param name="allowedTypes">
image/png,image/gif,image/jpeg
</param>
</interceptor-ref>
|