当前位置: 技术问答>java相关
关于JSP中的out.flush()问题。5分献上
来源: 互联网 发布时间:2015-02-04
本文导语: import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class Pull extends HttpServlet { public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException{ response.se...
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class Pull extends HttpServlet {
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws IOException, ServletException{
response.setContentType("text/html");
PrintWriter out = response.getWriter();
for(int i=0;i
import javax.servlet.*;
import javax.servlet.http.*;
public class Pull extends HttpServlet {
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws IOException, ServletException{
response.setContentType("text/html");
PrintWriter out = response.getWriter();
for(int i=0;i