2:复写doGet(),和doPost方法
3:编写servlet
4:部署项目到Tomcat并且在六浏览器中访问
在Application context后面加上hello,区别与(localhost:8080)访问时需要用localhost:8080/hello(即项目名)
5;访问java程序,需hello/hi(即路径名)
2:复写doGet(),和doPost方法
3:编写servlet
4:部署项目到Tomcat并且在六浏览器中访问
在Application context后面加上hello,区别与(localhost:8080)访问时需要用localhost:8080/hello(即项目名)
5;访问java程序,需hello/hi(即路径名)