THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
in struts.xml to start using it.
Request validation
The struts.multipart.validationRegex
is used to define a RegEx to be used to validate if the incoming request is a multipart request. The request must use the POST
method and match the RegEx, by default the RegEx is defined as follow:
Code Block |
---|
^multipart\\/form-data(; boundary=[a-zA-Z0-9]{1,70})? |
Please read RFC1341 the Multipart section for more details, existing Struts Multipart
parsers support only multipart/form-data
content type.