eclipse写servlet是无法导入httpservlet包

只要把tomcat\lib目录下的servlet-api.jar拷贝到web项目的lib目录上即可

猜你喜欢

转载自j-lyf.iteye.com/blog/1495906