testfile.ftl: cleanup

TestFileController.java: cleanup
This commit is contained in:
mbarbier 2011-04-22 20:18:23 +00:00
parent 26f1c62249
commit 0930811696
2 changed files with 2 additions and 10 deletions

View file

@ -64,7 +64,7 @@ public class TestFileController extends FreemarkerHttpServlet {
JSONObject json = new JSONObject();
String path = "/home/mbarbieri/tempfileupload/"; //todo: complete
String path = ""; //todo: complete
if(fileStreams.get("csvFile") != null && fileStreams.get("csvFile").size() > 0) {
FileItem csvStream = fileStreams.get("csvFile").get(0);
String name = csvStream.getName();