struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Nenning <>
Subject Re: Issue with jakarta-stream multipart parser
Date Thu, 07 Jan 2016 09:42:38 GMT
> The error message comes from the IllegalArgumentException thrown by 
> - it doesn't feature in the Struts 
> distribution at all. Because there's no entry in 
> 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: (scroll to bottom)


This Email was scanned by Sophos Anti Virus

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