JavaWeb
文章平均质量分 77
MessagePush
这个作者很懒,什么都没留下…
展开
-
Servlet的规范示例
1.展示页的请求页面public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/html;charset=utf-8"); request.setC转载 2014-01-07 18:54:49 · 455 阅读 · 0 评论 -
Jsp 关于普通购物网站实例
1.展示页部分代码<%String path = request.getContextPath();String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";%> function forward1() { var p转载 2014-01-07 18:47:59 · 2787 阅读 · 0 评论