import java.io.IOException;
import javax.servlet.*;
import javax.servlet.http.*;
public class LifeCycleServlet extends HttpServlet{
private ServletConfig config;
public void init(ServletConfig config)throws ServletException{
super.init(config);
this.config=config;
System.out.println("chu shi hua setvlet");
}
public void doGet(HttpServletRequset request,HttpServletResponse response)throws ServletException,IOException
{
this.doPost(request,response);
System.out.println("diao yong doget() fang fa");}

public void doPost(HttpServletRequset request,HttpServletResponse response)throws ServletException,IOException
{
System.out.println("diao yong dopost() fang fa");
}
public void destroy(){
System.out.println("diao yong destroy() fang fa");
}
}这是个servlet的java文件  我想用cmd编译成class文件  但是出现了   找不到文件的错误  请高手帮帮忙