printwriter

1. 웹 브라우저에 Servlet 문자열 출력하는 코드 import javax.servlet.*; import javax.servlet.http.*; import java.io.*; public class Nana extends HttpServlet { public void service(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { OutputStream os = response.getOutputStream(); PrintStream out = new PrintStream(os,true); out.println("hello Servlet!!"); } } service함수의 매개..
째로스
'printwriter' 태그의 글 목록