随笔分类 -  jsp基础

摘要:1 3 4 5 6 7 Insert title here 8 9 10 13 14 账号: 15 16 密码: 17 18 19 20 21 1 3 4 5 6 7 Insert title here 8 9 10 33 34 1 3 4 5 6 ... 阅读全文
posted @ 2016-06-28 22:12 明天会更好!!!! 阅读(135) 评论(0) 推荐(0)
摘要:题目:制作登录界面,登录成功后把用户名放在session里,在第3个页面读取session显示用户名 阅读全文
posted @ 2016-06-28 00:10 明天会更好!!!! 阅读(204) 评论(0) 推荐(0)
摘要:1 2 4 5 6 7 8 Insert title here 9 10 11 20 添加cookie成功 21 22 1 2 4 5 6 7 8 9 Insert title here 10 11 12 ");//再对cookie进行转码 17 } 18 %> 19 20 阅读全文
posted @ 2016-06-27 22:11 明天会更好!!!! 阅读(149) 评论(0) 推荐(0)
摘要:1 3 4 5 6 7 Insert title here 8 9 10 以out形式输出"); 19 %> 20 21 22 阅读全文
posted @ 2016-06-26 16:40 明天会更好!!!! 阅读(182) 评论(0) 推荐(0)
摘要:1 3 4 5 6 7 8 Insert title here 9 10 11 23 24 25 客户提交方式: 26 客户端地址,(不包含HTTP://的地址): 27 客户端地址,(包含HTTP://的地址): 28 客户端IP: 29 客户端机器名: 30 31 服务器的端口号: 32 服务器的机器名: 33 34 得到Head里的User... 阅读全文
posted @ 2016-06-26 16:33 明天会更好!!!! 阅读(305) 评论(0) 推荐(0)
摘要:1 3 4 5 6 7 Insert title here 8 9 10 11 12 名称 13 密码 14 15 16 17 1 3 4 5 6 7 8 Insert title here 9 10 11 接收的参数name="+name); 15 out.print("接收的参数password="+pas... 阅读全文
posted @ 2016-06-26 16:19 明天会更好!!!! 阅读(190) 评论(0) 推荐(0)
摘要:1 3 4 5 6 7 8 Insert title here 9 10 11 //处理中文乱码 12 String name=new String(request.getParameter("name").getBytes("ISO-8859-1"),"UTF-8");//收到的内容为ISO—8859—1的编码,需要从ISO—8859—1的编码格式转成U... 阅读全文
posted @ 2016-06-26 14:41 明天会更好!!!! 阅读(112) 评论(0) 推荐(0)
摘要:1 3 4 5 6 7 Insert title here 8 9 10 11 账号 12 密码 13 14 15 16 1 2 3 4 5 Insert title here 6 7 8 12 18 23 24 1 3 4 5 6 7 Insert title here 8 9 ... 阅读全文
posted @ 2016-06-25 09:49 明天会更好!!!! 阅读(352) 评论(0) 推荐(0)
摘要:1 3 4 5 6 7 Insert title here 8 9 10 接收的参数name="+name); 15 out.print("接收的参数password="+password+""); 16 //out对象 17 System.out.println("向控制台输出信息");//向控制台输出信息 18 out.print("向浏览器输出信息");//向... 阅读全文
posted @ 2016-06-24 22:51 明天会更好!!!! 阅读(231) 评论(0) 推荐(0)
摘要:1 3 4 5 6 7 Insert title here 8 9 10 11 12 13 14 15 16 阅读全文
posted @ 2016-06-24 22:45 明天会更好!!!! 阅读(366) 评论(0) 推荐(0)
摘要:1 <%@ page language="java" contentType="text/html; charset=UTF-8" 2 pageEncoding="UTF-8"%> 3 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional 阅读全文
posted @ 2016-06-24 10:17 明天会更好!!!! 阅读(1165) 评论(0) 推荐(0)
摘要:1 3 4 5 6 7 Insert title here 8 9 10 17 18 19 阅读全文
posted @ 2016-06-24 10:15 明天会更好!!!! 阅读(243) 评论(0) 推荐(0)
摘要:1 <%@ page language="java" contentType="text/html; charset=UTF-8" 2 pageEncoding="UTF-8"%> 3 <%@page import="java.text.*" %> 4 <%@page import="java.ut 阅读全文
posted @ 2016-06-24 10:13 明天会更好!!!! 阅读(199) 评论(0) 推荐(0)
摘要:1 3 4 5 6 7 Insert title here 8 9 10 这是首页 11 这是java字符串" %> 12 这是java变量"; 14 int i=0; 15 %> 16 17 i= 18 23 "+m %> 24 25 26 27 1 3 4 5 6 7 8 9 10 Insert titl... 阅读全文
posted @ 2016-06-23 23:32 明天会更好!!!! 阅读(302) 评论(0) 推荐(0)