摘要: Select 处的代码: [html] view plain copy <select name="position"> <span style="white-space:pre"> </span><% <span style="white-space:pre"> </span>while(rs.n 阅读全文
posted @ 2017-12-03 22:14 ec04 阅读(858) 评论(0) 推荐(0) 编辑
摘要: 记一下,免得以后忘记了,又要去查。 文件共有四个web.xml、login.jsp、logout.jsp、welcome.jsp四个文件 测试环境:Tomcat 6.0.x 假设项目名称是LoginSample,我的目录结构是这样的 ...\webapps\LoginSample\WEB-INF\w 阅读全文
posted @ 2017-12-03 21:37 ec04 阅读(327) 评论(0) 推荐(0) 编辑
摘要: 1.首先要到http://pajhome.org.uk/crypt/md5/下载js文件。 2.在页面文件中添加: <script type="text/javascript" src="md5.js"></script> 3.使用函数hex_md5()进行加密,例: frm.pwd.value = 阅读全文
posted @ 2017-12-03 21:36 ec04 阅读(398) 评论(0) 推荐(0) 编辑