摘要:
登录时常常要用到验证码验证,下面是一个简单的纯数字验证码,详细代码见image.jsp,将每次生成的验证码文本直接存入session中,登录时方便后台从session中取值验证: 255) fc = 255; if (bc > 255) bc... 阅读全文
posted @ 2015-10-02 12:04
程序员小波与Bug
阅读(247)
评论(0)
推荐(0)
摘要:
一、SpringMvc学习笔记1、使用SpringMvc时需在web.xml文件中添加配置 2、SpringMvc配置文件:spring-mvc.xml文件配置 3、controller配置:@Controller(注解形式) 4、防止乱码:在web.xml文件中加入 5、<mvc:annotati 阅读全文
posted @ 2015-10-02 12:02
程序员小波与Bug
阅读(298)
评论(0)
推荐(0)
摘要:
1、struts.properties配置常量等同于struts.xml中配置(置于类加载路径下面)struts.multipart.maxSize文件上传最大大小struts.action.extension默认struts处理的请求后缀struts.enable.DynamicMethodInv... 阅读全文
posted @ 2015-10-02 12:00
程序员小波与Bug
阅读(303)
评论(0)
推荐(0)

浙公网安备 33010602011771号