`
文章列表

MD5实现加密解密

    博客分类:
  • java
import java.security.MessageDigest;    public class MD5Util {            // MD5加密。32位的。      public static String md5ToSecret(String source) {          MessageDigest md5 = null;          try {              md5 = MessageDigest.getInstance("MD5");          } catch (Exception e) {    ...
需要导出excel位置添加导出按钮 <input type="button" class="CommonButton" value="导出Excel文档" name="download1" onclick="location.href='toexcel.jsp'"> toexcel.jsp页面设置contetTyep替换原有设置 <%@ page contentType="application/vnd.ms-excel; charset=gb2312" ...
需要导出excel位置添加导出按钮 <input type="button" class="CommonButton" value="导出Excel文档" name="download1" onclick="location.href='toexcel.jsp'"> toexcel.jsp页面设置contetTyep替换原有设置 <%@ page contentType="application/vnd.ms-excel; charset=gb2312" ...
import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; public class test3 { public static void main(String[] args) { String d = "2004-1-1"; DateFormat format = new SimpleDateFormat("yyy ...
<!doctype html> <html>    <head> <title>画出一个椭圆</title> </head> <body> <!-- 画出我的画布 --> <canvas id="can1" width="500px" height="500px" style="border:1px solid black"></canvas> <script type=&q ...
在页面上动态的增加下拉列表,也可以动态增加其他元素 缺点是删除的时候,只能从后往前删除,不知哪位大神有方法实现定位删除 <html>     <head>     <title>Untitled   Document</title>     <meta   http-equiv="Content-Type"   content="text/html;   charset=gb2312">     <script   language="javascript"& ...
在<head></head>标签中加入一句话:<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9" /> 此话一定要加在<head>开始标签之后。 例: <head> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9" /> <meta http-equiv="Content-Type" ...
/*-------------------------jquery代码----------------------------*/ <script type="text/javascript"> $(document).ready(function(){ $(".tabs1").show(); $(".tabs").hide(); $(".tab_box #tab").click(function(){ var ss=this.lastChild.attributes ...
/*----------------------jquery代码---------------------*/ <script type="text/javascript"> $(document).ready(function(){   $("a").click(function(){ $("a").css("color","");    $(this).css("color","#FFFF00");      }); }) ...
/*-------------------------jquery代码-----------------------*/ //左边导航栏的高度  随着右边内容的增多而增长 $(function(){          var count=$(".content").height()-10; //数值自己设置          $("#gly-left").height(count); var count=$(".content").height()-70; $(".content_right").hei ...
/*-------------------------html代码---------------------------*/ <div class="content"><!-- id:content begin --> <div id="gly-top"></div>       <div id="gly-left"><!-- id:left begin -->   <div class="navigation">      ...
/*----------------html代码-------------------------*/ <div class="left-menu"> <div id="line1"></div> <div class="nav"> <ul >         <li class="li-list"><a href="Teams.html" target="mainFrame">学期 ...
/*--------------html代码-------------*/ <div id="navigation">     <div id="user-list" >        <div class="user"> <div id="tu1"></div> <div id="username">张三</div> <div id="time">2013 ...
/*-----------由左至右渐变-------------*/ body{ width:100%; height:105px; margin:0 auto; filter: progid:DXImageTransform.Microsoft.gradient(startcolorstr=#00108B,endcolorstr=white,gradientType=1);  /*IE*/ -ms-filter:progid:DXImageTransform.Microsoft.gradient(startcolorstr=#00108B,endcolorstr=white,gradient ...
<li id="empty"><a href="javascript:void(0)" onClick="document.getElementById('c-title1').scrollIntoView();">报告概览</a></li> <div class="c-title1" id="c-title1">报告概览</div> <div class="content1"> ...
Global site tag (gtag.js) - Google Analytics