摘要:
<%@ page language="java" import="java.util.*" pageEncoding="gbk"%><%String path = request.getContextPath();String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";%><!DOCTYPE H 阅读全文
摘要:
首先给你个验证码模板,文件名为Num.jsp<%@ page pageEncoding = "gbk" contentType="image/jpeg" import = "javax.imageio.*,java.util.*,java.awt.image.*,java.awt.*" %> window.self.location.reload(true);<%! //在此处 获取并生成随机颜色 Color getRandColor(Random random, int ff, int cc) { if (ff & 阅读全文