标签:tomcat
1. Tomcat源码导入Eclipse
2. 配置conf/server.xml
<Context path="Smart-OJ" docBase="C:\Users\ZhangJinHua\workspace\Smart-OJ\WebContent" reloadable="true" />
其中path为访问的上下文,docBase是工程的具体路径
3. 运行,并在浏览器中输入http://localhost:8080/Smart-OJ/
标签:tomcat
原文地址:http://blog.csdn.net/u013769320/article/details/45697599