1 tomcat
http://localhost:8080/manager/html
只可用role为 manager-gui
<tomcat-users>
<role rolename="manager-gui"/>
<user username="tomcat" password="tomcat" roles="manager-gui"/>
</tomcat-users>
里面有非常多的小例子,还有贪吃蛇游戏
http://localhost:8080/examples/websocket/snake.html
2
for (int i = 0; i < 10; i++) {
System.out.println(UUID.randomUUID());
}
uuid值
57218b7b-1d83-4229-972e-472c41a48ea4
739e44ab-cab3-480f-b34c-9148a377598b
3 maven的tomcat插件 有问题
mvn tomcat:deploy 或
mvn tomcat:redeploy
3 mvn eclipse:eclipse 用来使用配置文件来下载包的
http://localhost:8080/manager/html
只可用role为 manager-gui
<tomcat-users>
<role rolename="manager-gui"/>
<user username="tomcat" password="tomcat" roles="manager-gui"/>
</tomcat-users>
里面有非常多的小例子,还有贪吃蛇游戏
http://localhost:8080/examples/websocket/snake.html
2
for (int i = 0; i < 10; i++) {
System.out.println(UUID.randomUUID());
}
uuid值
57218b7b-1d83-4229-972e-472c41a48ea4
739e44ab-cab3-480f-b34c-9148a377598b
3 maven的tomcat插件 有问题
mvn tomcat:deploy 或
mvn tomcat:redeploy
3 mvn eclipse:eclipse 用来使用配置文件来下载包的