java跳转空白页代码,页面跳转后是空白页
protected void doGet(HttpServletRequest req, HttpServletResponse response)throws ServletException, IOException {System.out.println("处理get方式请求......");PrintWriter out = response.getWriter();response.se
protected void doGet(HttpServletRequest req, HttpServletResponse response)
throws ServletException, IOException {
System.out.println("处理get方式请求......");
PrintWriter out = response.getWriter();
response.setContentType("text/html;charset=UTF-8");
out.println("Hello Servlet!
");
}
然后控制台也没有输出”处理get方式请求......"这句话 是不是servlet没执行啊
错误信息我也不太会看。。。。。
八月 06, 2016 10:47:02 上午 org.apache.coyote.AbstractProtocol stop
信息: Stopping ProtocolHandler ["ajp-bio-8009"]
八月 06, 2016 10:47:02 上午 org.apache.coyote.AbstractProtocol destroy
信息: Destroying ProtocolHandler ["ajp-bio-8009"]
更多推荐
所有评论(0)