1 右键项目->Build Path->Configure Build Path

2 Add Library...->Server Runtime

3 Apache Tomcat->Finish

 

1 右键项目->Build Path->Configure Build Path

 

实现Servlet接口_tomcat

 

2 Add Library...->Server Runtime

 

实现Servlet接口_右键_02

 

3 Apache Tomcat->Finish

 

实现Servlet接口_右键_03