怎样在action中得到当前工程的绝对路径?在线等!谢谢各位大虾![解决办法]request.getSession().getServletC
怎样在action中得到当前工程的绝对路径?
在线等!谢谢各位大虾!
[解决办法]
request.getSession().getServletContext().getRealPath( "/ ");
[解决办法]
servlet.getServletContext().getRealPath( "/ ")
怎样在action中得到当前工程的绝对路径?
在线等!谢谢各位大虾!
[解决办法]
request.getSession().getServletContext().getRealPath( "/ ");
[解决办法]
servlet.getServletContext().getRealPath( "/ ")