You need to send in the 'default' name as a hidden field.
Because the request object does not guarantee the order in which you can pull off the parameters, you'd need to upload the file to a temporary directory.
Then when you have the filename, use the
Java file i/o classes to move/rename your file.