title: How to rename a file which is in MultiPartFile format in java
body: <p>For MultiPartFile, it stores the full path and has mainly 2 function which retrieve original path and other one absolute path. Then how to rename it. Using getOriginalFilename() you can find the file name withhout path. And I don't want to change extension and want to see filename without extension</p>