`
文章列表
Spring中Quartz用于线程调度。 spring配置文件中添加: <bean id="tt" class = "t.TT"> </bean> <!-- Spring Quartz 调用 --> <bean id="schedulerTrigger" class="org.springframework.scheduling.quartz.SchedulerFactoryBean"> <property name="tr ...

shalala

shalala [ti:ホタルノヒカリ] [ar:いきものがかり] [al:収録:いきものがかり - ホタルノヒカリ/発売日:2009/07/15] [by:こえ酱] [00:00.00]SHA LA LA いつかきっと 僕は手にするんだ‖SHA LA LA 终有一天 定要将你紧握于手 [00:08.78]はかなき ...
//js's queue by yj function js_queue(){ this.head = 0; this.arr = new Array(); } js_queue.prototype.put = function(obj){ this.arr[this.arr.length] = obj; } js_queue.prototype.get = function(){ if(this.head == this.arr.length) return null; var return_string = this.arr[this.head]; th ...

JS中的栈

var strs = []; strs.push("111111111"); strs.push("222222222"); alert(strs.pop()); 弹出“222222222”。
1,弹出模式对话框 window.showModalDialog(url,self,'dialogHeight=520px;dialogWidth=800px;center=yes;resizable=yes;scroll=yes;status=no;'); 2,对话框中的页面 <base target="_self"> 3,取父页面的元素 window.dialogArguments.document.getElementById("a"); 值得注意的地方: 1中的 self;2中的标签可以解决弹出新页面和本页 ...
evict方法用于从HibernateSession中移除一个持久化对象。 该对象状态由持久化状态变为游离态。 在更新的时候调用了saveOrUpdate方法会将一个临时对象持久化,但同事在加日志时要得到修改前对象,所以在我update之前get了一下,此时update报错:a different object with the same identifier value was already associated with the session; 因为get时通过ID将其放入了缓存,saveOrUpdate又要将同一ID对象放入缓存,所以报错。 解决方法:     在get后将得到 ...
根据元素ID得到元素所在的指定层的ID。 一个页面有很多层,验证的时候如果层是隐藏的就无法调用element.focus(); 以下代码找到层,让其显示然后focus <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE> New Document </TITLE> </HEAD> <BODY> <div id="d1" ...

一个JS

找个地方存下自己写的js

LabelValueBean

<html:select property="searchModel.caseType"> <html:option value="">--请选择--</html:option> <!-- 查询类型用labelValueBean --> <html:options collection="lvb_list" property="value" labelProperty="label&q ...
package test1; public class PathTest { /** * @param args */ public static void main(String[] args) { System.out.println(new PathTest().getPath()); } public String getPath(){ return this.getClass().getClassLoader().getResource("MailConfig.xml").getPath(); } } ...

修改IP的bat

netsh interface ip set address 本地连接 static 192.168.0.174 255.255.255.0 192.168.0.1 1
<bean:define id="type"> <bean:write name="SoxAuditCaseForm" property="model.caseType"/> </bean:define> <bean:message bundle="auditManage" key = "${type}"/>
var json1 = "{key:1,value:'one'}"; var json_obj = eval("("+json1+")"); alert(json_obj.value); var json2 = "{[{key:1,value:'one'},{key:2,value:'two'}]}"; var json_objs = eval("{"+json2+"}"); alert(json_objs[0].value); 单个用 " ...
cascade:级联,可选值为:none,save-update,delete,all,all-delete-orphan inverse: 反转,表示由哪方维护关系false为自己维护,可选值:true,false <set name="soxAuditConditions" inverse="false" cascade="all-delete-orphan" lazy="false"> <key> <column n ...
<script type="text/javascript"> function getFileSize(filePath) { var image=new Image(); image.dynsrc=filePath; alert(image.fileSize); } </script> <body> <INPUT TYPE="file" NAME="file" SIZE="30 ...
Global site tag (gtag.js) - Google Analytics