随笔分类 - 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 ...
阅读全文
摘要:题目:制作登录界面,登录成功后把用户名放在session里,在第3个页面读取session显示用户名
阅读全文
摘要: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
阅读全文
摘要:1 3 4 5 6 7 Insert title here 8 9 10 以out形式输出"); 19 %> 20 21 22
阅读全文
摘要: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...
阅读全文
摘要: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...
阅读全文
摘要: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...
阅读全文
摘要: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 ...
阅读全文
摘要: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("向浏览器输出信息");//向...
阅读全文
摘要:1 3 4 5 6 7 Insert title here 8 9 10 11 12 13 14 15 16
阅读全文
摘要:1 <%@ page language="java" contentType="text/html; charset=UTF-8" 2 pageEncoding="UTF-8"%> 3 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional
阅读全文
摘要:1 3 4 5 6 7 Insert title here 8 9 10 17 18 19
阅读全文
摘要:1 <%@ page language="java" contentType="text/html; charset=UTF-8" 2 pageEncoding="UTF-8"%> 3 <%@page import="java.text.*" %> 4 <%@page import="java.ut
阅读全文
摘要: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...
阅读全文

浙公网安备 33010602011771号