在pox.xml文件中添加

org.apache apache-ant-zip 2.3 system ${basedir}/lib/apache-ant-zip-2.3.jar

 

jsp中获取当前的url

<%
String path = request.getContextPath();

String bastPath = request.getScheme()+”://”+request.getServerName()+”:”+request.getServerPort()+path+”/”;
%>

” id=”base_url”>

 

The username you provided is not allowed to use the text-based Tomcat Manager (error 403)

Tomcat管理

http://blog.csdn.net/jay_1989/article/details/52861620