struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "钟原froast" <>
Subject [S2]can I skip file upload validation when I did not upload a file?
Date Fri, 27 Jul 2007 09:23:15 GMT
<interceptor-ref name="defaultStack">
                  <param name="fileUpload.allowedTypes
                 <param name="fileUpload.maximumSize">102400</param>
                 <param name="validation.excludeMethods">*</param>
                 <param name="validation.includeMethods

the upload file is not nessary, so i want it to be validated when I upload a
file, and skip validation when I did not upload a file, how should I do?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message