摘要: JSP Response Set StatusIn this tutorial you will learn about how to set the HTTP status code in JSP.In Java you can specify a HTTP-specific functional... 阅读全文
posted @ 2015-08-01 23:46 Delena 阅读(1088) 评论(0) 推荐(0)
摘要: #相当于对数据 加上 双引号,$相当于直接显示数据1. #将传入的数据都当成一个字符串,会对自动传入的数据加一个双引号。如:order by #user_id#,如果传入的值是111,那么解析成sql时的值为order by "111", 如果传入的值是id,则解析成的sql为order by "i... 阅读全文
posted @ 2015-08-01 21:37 Delena 阅读(258) 评论(0) 推荐(0)
摘要: 请求转发:getRequestDispatcherrequest.getRequestDispatcher("success.jsp").forward(request,response);请求重定向:sendRedirectresponse.sendRedirect("success.jp");区... 阅读全文
posted @ 2015-08-01 11:38 Delena 阅读(150) 评论(0) 推荐(0)