给定一个Servlet 的代码片段如下:Public void doGet(HttpServletRequest request,HttpServletResponse respons
E:throws ServletException,IOException{( )out.println( “hi kitty! ”);out.close();}运行次Servlet 时输出如下:hi kitty!则应在此Servlet 下划线处填充如下代码。( )
A:PrintWriter out = request.getWriter();
B:OutputStream out = response.getOutputStream();
C:OutputStream out = request.getWriter();
D:PrintWriter out = response.getWriter();
发布时间:2024-05-10 20:44:58