This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Some one did crap code.. they have parameter in HttpServletRequest
Those parameters name contains space "white character" at the end.. So much code is done with the same..
In the same page now file upload is done. so the request coming in is now MultipartRequest.
When i am trying to upload file, these parameters with white space at the end are not containing any white space at the end.. I guess it is trimmed in the implementation. When i am not uploading file it is coming with white space..
Now you will say that i can trim the same and use, but so much code is done with the same.. and some values are appended after that space..
So some of the parameters are becoming like "variable_ 1231" existing code can not be changed..
Any one faced the same problem.. Is it MultipartRequestWrapper's problem .