郭
郭玉梁
Unregistered / Unconfirmed
GUEST, unregistred user!
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class HelloWWW extends HttpServlet {
public voiddo
Get(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException {
response.setContentType("text/html");
PrintWriter out = response.getWriter();
out.println(.....)
}
}
我用C:/j2ee>Javac -classpath HelloWWW.java 系统没动静
用Javac HelloWWW.java 编译系统又找不到类,谁告诉我则么回事
还有我用 Javac -classpath 任意一个文件名,系统居然没有动静
如何才能生成HelloWWW.class文件
import javax.servlet.*;
import javax.servlet.http.*;
public class HelloWWW extends HttpServlet {
public voiddo
Get(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException {
response.setContentType("text/html");
PrintWriter out = response.getWriter();
out.println(.....)
}
}
我用C:/j2ee>Javac -classpath HelloWWW.java 系统没动静
用Javac HelloWWW.java 编译系统又找不到类,谁告诉我则么回事
还有我用 Javac -classpath 任意一个文件名,系统居然没有动静
如何才能生成HelloWWW.class文件