猿问

我导了Tomcat包但是HttpServlet这个类找不到

package com.icarefx.Ajax;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class SearchServlet extends HttpServlet {
 @Override
 protected void doGet(HttpServletRequest request, HttpServletResponse response)
   throws ServletException, IOException {
  System.out.println("123");
  //首先获得客户端发送来的数据keyword
     String keyword=request.
 (点不出来方法)
 }

}


qq_宋小贱_03679005
浏览 3614回答 3
3回答

dky

右键jar包, add to lib
随时随地看视频慕课网APP

相关分类

Java
我要回答