java获得全路径
程序员文章站
2022-05-09 23:49:16
...
String path = request.getScheme()+"://"+request.getServerName()+request.getServletContext().getContextPath()+"/front/front_main.action" ;