![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jsp
sun_cat
这个作者很懒,什么都没留下…
展开
-
产生随机数图片
可以产生一个小图片上面有生成的随机数,当作验证码 引用方式 255) fc=255; if(bc>255) bc=255; int r=fc+random.nextInt(bc-fc); int g=fc+random.nextInt(bc-fc); int b=fc+random.nextIn...2006-11-01 14:37:32 · 280 阅读 · 0 评论 -
session 的好文章
转自:http://www.cnjm.net/tech/article1111.html 摘要:虽然session机制在web应用程序中被采用已经很长时间了,但是仍然有很多人不清楚session机制的本质,以至不能正确的应用这一技术。本文将详细讨论session的工作机制并且对在Java web application中应用session机制时常见的问题作出解答。 JAVA手机网[www.cnj...2007-05-17 11:22:34 · 68 阅读 · 0 评论 -
struts2 点点滴滴
1:在web.xml 中为何要配置为 /* ? <filter-mapping> <filter-name>struts2</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> strut...2012-08-13 10:56:13 · 85 阅读 · 0 评论