1:是由於沒有加入servlet-api.jarapi
2:下載網址:http://download.csdn.net/detail/jiuyueguang/5745209ui
3:而後在項目右鍵-》build path-》add library.net