> The error message comes from the IllegalArgumentException thrown by > java.io.File.createTempFile() - it doesn't feature in the Struts > distribution at all. Because there's no entry in > struts-messages.properties for > struts.messages.upload.error.IllegalArgumentException it gets added to > the errors as-is I believe. > > In JakartaStreamMultiPartRequest.createTemporaryFile() appending an > extra '_' to the prefix for the case when it has a length of less than 3
> seems to resolve the issue with no side-effects from what I can tell. > > Cheers, > Stephen. > Please create a jira issue for that. As workaround you might create an own implementation of JakartaStreamMultiPartRequest and register it in struts config: http://struts.apache.org/docs/file-upload.html (scroll to bottom) Regards, Christoph This Email was scanned by Sophos Anti Virus