Closed GoogleCodeExporter closed 9 years ago
问题产生的条件: 服务端(tomcat)跑在linux下, 在windows下通过浏览器上传文件。java代码中调用 tempFile.getMeta().getFileLocalName()获取本地文件名可能为文件的全� ��径名称。 发生问题的调用代码: @At("/upload") public String upload(@param("tmpFile")TempFile tempFile){ System.out.println(tempFile.getMeta().getFileLocalName()); ... } 问题的详细说明: 打印结果可能为:“C:\abc\def.txt”,而不是def.txt 异常堆栈: 无 相关日志: 无
Original issue reported on code.google.com by maiger...@gmail.com on 18 Aug 2011 at 3:10
maiger...@gmail.com
fixed
Original comment by wendal1985@gmail.com on 23 Aug 2011 at 8:01
wendal1985@gmail.com
Original comment by wendal1985@gmail.com on 6 Sep 2011 at 6:29
Original issue reported on code.google.com by
maiger...@gmail.com
on 18 Aug 2011 at 3:10