在tomcat的conf目录下的server.xml

<Context path="/" docBase="路径" debug="true" reloadable="false"></Context>

哦对了,是放在Host标签里