1.编译Servlet 文件
Hello.java
javac -encoding utf-8 -d ..\classes -sourcepath . chapter3\Hello.java
生成Hello.class
2.启动tomcat
3.运行
http://localhost:8080/book/chapter3/hello
1.编译Servlet 文件
Hello.java
javac -encoding utf-8 -d ..\classes -sourcepath . chapter3\Hello.java
生成Hello.class
2.启动tomcat
3.运行
http://localhost:8080/book/chapter3/hello