`
leeleo
  • 浏览: 319766 次
  • 性别: Icon_minigender_1
  • 来自: 贵阳
社区版块
存档分类
最新评论
文章列表
网站后台一般用框架的,今天写了一个退出框架的页面,但是后台是退出去了,还有左面和上面的没有退出.LogOut.jsp <% session.invalidate(); %> <script language="javascript"> window.opener=null; window.close(); </script>   解决办法:将target属性设置为"_top",即: <a href="LogOut.jsp" target="_top& ...
MD5算法是将数据进行不可逆加密的算法,安全性较好,在安全方面较好,关于MD5算法的详细介绍,网上多得很,有兴趣的可以搜一下。jsp中以javaBean的方法应用到后台管理员密码等字符串的加密,以增加网站的安全性。 MD5.java源代码如 ...
truncate Table [表名]  
这几天做基于Web页面的套打程序,用到了图层的拖动,在网上找了些资料,来说明原理及实现代码,总结如下: 原理图: 说明下: O(0,0),表示窗口内容区左上角坐标; T(x1,y1),表示拖动前,层的左上角顶点坐标; M(xm,ym),M=Mouse,此点表示,正准备 ...
<style> <!-- div { background: #cccccc; position: absolute; width: 50; height: 50; } --> </style> <div onmousedown="oMove(this)"></div> <div onmousedown="oMove(this)"></div> <div onmousedown="oMove(this)"></d ...
光标类型   CSS  把你的光标放到相应文字上查看效果 要注意光标的实际效果依赖于用户的系统设置,与你在这里看到的效果并不一定一致。 十字准心 cursor: crosshair; 手 cursor: pointer; cursor: hand;写两个是为了照顾IE5,它只认hand。    等待/沙漏 cursor: wait; 帮助 cursor: help; 无法释放 cursor: no-drop; 文字/编辑 cursor: text; 可移动对象 cursor: move; 向上改变大小(North)   cursor: n-resize; 向下改变大小(South)   cur ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset ...
风格一 <script> z_index= 1; mouseDown= false; divLeft= 0; divTop= 0; function onMove(obj) { obj.style.left= window.event.clientX-divLeft; obj.style.top= window.event.clientY-divTop; x_value.value=obj.style.left; y_value.value=obj.style.top; } function onDown(obj) ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset ...
<%@ page contentType="text/html;charset=gb2312" %> <%@ page language="java" import="java.sql.*" %> <script language="javascript"> function newwin(url) { var newwin=window.open(url,"newwin","toolbar=no,location=no,directori ...
1、你永远不要希望他明白早睡早起的意思。2、每天要花比做减肥操还要多的力气,叫他起床。3、电脑永远是他的妻,你只是妾。如果可能他更愿意和电脑结婚,雇你做保姆4、他会每天记得擦擦电脑,也不会记得每周擦擦桌子。 ...
电子商务网站开发的流程主要有以下几步:   第一步:需要客户提供一个完整的需求说明。       很多客户对自己的需求并不是很清楚,需要您不断引导和帮助分析。曾经有一次,我问客户:“您做网站的目的是什么?”他 ...
国外开发者博客中有一篇有趣的文章,将程序员按水平像软件版本号那样划分为不同的版本。相对于在招聘时分为初级,中级,高级程序员,直接表明需要某种语言N版本的程序员或许更方便直接。根据作者的观点,可将WEB开发者 ...
静态的登录界面的设计login.htm,代码如下: <html> <head> <title>系统登录</title> <style type="text/css">... <!-- .style1 {...}{ font-size: 18px; font-weight: bold; } .style2 {...}{font-size: 24px} .style5 {...}{font-size: 16px} --> </style& ...
Global site tag (gtag.js) - Google Analytics