在tomcat的cof的server.xml文件中加
<Context path="/expert" docBase="expert" debug="0" reloadable="false"></Context>