ServletContext sct = ContextLoader.getCurrentWebApplicationContext().getServletContext(); System.out.println(sct.getRealPath("/upload"));小编整理:
本文共 202 字,大约阅读时间需要 1 分钟。
ServletContext sct = ContextLoader.getCurrentWebApplicationContext().getServletContext(); System.out.println(sct.getRealPath("/upload"));小编整理:
转载于:https://my.oschina.net/zhangmaoyuan/blog/1606269