安装tomcat
https://jingyan.baidu.com/article/00a07f3872af0982d028dcb3.html
eclipse配置
https://jingyan.baidu.com/article/fcb5aff74d710bedab4a715f.html
将tomcat放入云端加载war包
将eclipse带有servlet的project,export成war包;将war包放入云端的D:\tomcat\webapps;直接启动D:\tomcat\bin\startup.bat。
D:\tomcat\conf\server.xml是调试端口的xml文件
使用eclipse直接启动comcat
启动后网址是http://localhost/server/ 无法显示, 需要加继承了HttpServlet的class名,如下
http://localhost/server/WeixinServlet