no message

main
이범준 1 year ago
parent c9fb51d947
commit 6d31eccba9

@ -4,7 +4,6 @@ import java.io.File;
import javax.annotation.Resource;
import org.springframework.boot.system.ApplicationHome;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
@ -63,9 +62,7 @@ public class UserController extends cokr.xit.base.user.web.UserController<Manage
ModelAndView mav = new ModelAndView();
mav.setViewName("jsonView");
ApplicationHome ah = new ApplicationHome();
System.out.println(ah.getDir().getAbsolutePath());
Node tree = DirectoryStructureToJson.getNode(new File(ah.getDir().getAbsolutePath()+File.separator+"files"));
Node tree = DirectoryStructureToJson.getNode(new File("files"));
mav.addObject("tree", tree);
return mav;
}

Loading…
Cancel
Save