1.去掉tomcat默认访问路径 在conf文件夹下web.xml中去掉 <welcome-file-list></welcome-file-list>中的index.html 2 server.xml中在 <host></host>内加上 <context path="" docbase="E:\apache-tomcat-6.0.32\webapps\framework" debug="0" privileged="true"></context> 其中pth中的内容即是代理地址,可以为空,即用端口登陆 docBase是tomcat webapps文件中需要代理的工程名,默认访问当然工程web.xml中指定的页面 3对于使用框架默认不是访问jsp和html的可以在设定默认html,并此html中的head内加上 <meta http-equiv="refresh" content="0;url=/framework/rest/login/in"> url即指定了需要html转发的路径