processRequest:找不到符号

时间:2018-07-25 15:08:52

标签: java servlets web javabeans

以下是用JavaBeans编写的myServlet类的Java代码。但是错误的是processRequest方法找不到符号。怎么了?

import java.io.*;
import java.net.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.http.Cookie.*;



public class myServlet extends HttpServlet{

    protected void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException{
        processRequest(req, res);
    }



}

0 个答案:

没有答案