jump to navigation

Struts2: Using validation with fileUpload interceptor July 26, 2007

Posted by maxmil in : struts2 , trackback

Just a note to remind myself that when using the struts fileUpload interceptor you cannot include the default stack. If you need validation you should do something like this.

<action name="saveFiles" method="saveFiles"
<interceptor-ref name="fileUpload" />
<interceptor-ref name="basicStack"/>
<interceptor-ref name="validation"/>


no comments yet - be the first?