fixed webModuleApplicationContext and fixed upload file string formatting