這個異常為什麼這麼觸發呀, 怎麼寫到方法的後面??
dfwid 2003-12-13 02:52:15 import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class HelloWorld extends HttpServlet
{
public void doGet(HttpServletRequest request,HttpServletResponse response)throws ServletException,IOException
{
response.setContentType("text/html");
PrintWriter out = response.getWriter();
out.println("<html><head><title>");
out.println("This is my first Servlet");
out.println("</title></head><body>");
out.println("<h1>Hello,World!ttttttttttttttttttt</h1>");
out.println("</body></html>");
}
}
------------------------------------
初學者:這個異常為什麼這麼觸發呀, 怎麼寫到方法的後面??