光辉飞翔

导航

 
上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 52 下一页

2012年10月18日

摘要: 第一种:在jsp页面中写入java代码,这是网上搜到的,不过感觉不是很好。代码如下:<select name="year1" style="width: 90px;"> <option value="">--- 请选择 ---</option> <% StringBuffer bufYear = new StringBuffer(); //下拉列表的年数 for(int i=0;i<11;i++){ //最小年 int iYear = 2005+i; bufYear.append(&qu 阅读全文
posted @ 2012-10-18 09:55 光辉飞翔 阅读(3590) 评论(0) 推荐(0)
 

2012年10月15日

摘要: hiabernate 中createQuery与createSQLQuery区别,使用经验hibernate 中createQuery与createSQLQuery两者区别是:前者用的hql语句进行查询,后者可以用sql语句查询前者以hibernate生成的Bean为对象装入list返回后者则是以对象数组进行存储所以使用createSQLQuery有时候也想以hibernate生成的Bean为对象装入list返回,就不是很方便突然发现createSQLQuery有这样一个方法可以直接转换对象Query query = session.createSQLQuery(sql).addEntity( 阅读全文
posted @ 2012-10-15 15:17 光辉飞翔 阅读(208) 评论(0) 推荐(0)
 
摘要: <s:form action="%{doc.id==null?'doclib/doclib!save':'doclib/doclib!update'}" id="docform" theme='simple' enctype="%{doc.id==null?'multipart/form-data':'application/x-www-form-urlencoded'}" > 阅读全文
posted @ 2012-10-15 14:56 光辉飞翔 阅读(216) 评论(0) 推荐(0)
 
摘要: <jmesa:htmlColumn property="status" title="文档状态" filterable="false" width="3%"><div align="center"><c:choose><c:when test="${'0' eq item.status}">审核中</c:when><c:when test="${'1' eq item. 阅读全文
posted @ 2012-10-15 14:52 光辉飞翔 阅读(1625) 评论(0) 推荐(0)
 
摘要: 中软高科(北京)科技有限公司联系人:唐先生(联系时请说在赶集网上看到的)联系电话:82826536 申请职位 公司地址: 北京北京市海淀区中关村软件园孵化器1号楼B座-----------------------北京华育网科技发展有限公司 -------------------------联系电话:点击查看 联 系 人:任老师在线沟通:联系地址:北京市朝阳区朝外大街19号华普国际大厦0723B---------------------北京中科金财科技股份有限公司------------------------------------------------website:http://www. 阅读全文
posted @ 2012-10-15 11:30 光辉飞翔 阅读(170) 评论(0) 推荐(0)
 
摘要: <a href="javascript:if(confirm('确认要删除吗?')){window.location='${ctx}/oa/meetingroom_delete?id=${item.id}&'}" class="fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="删除"><span class="ui-icon ui-icon-trash"></ 阅读全文
posted @ 2012-10-15 11:21 光辉飞翔 阅读(2212) 评论(0) 推荐(0)
 
摘要: <script type="text/javascript"> var startTime = new Date().getTime(); $(document).ready(function(){ test1(); }) function test1(){ var endTime2 = new Date().getTime(); var a = endTime2 - startTime; $("<div>jQuery的ready() : "+a+" ms</div>").appendTo(&quo 阅读全文
posted @ 2012-10-15 11:00 光辉飞翔 阅读(101308) 评论(0) 推荐(0)
 
摘要: public abstract class BaseHibernateDao<E, PK extends Serializable> extends HibernateDaoSupport implementsEntityDao<E, PK> {public List<DocumentUser> getByDocTransferId(Long id) { //1.String hql = "from DocumentUser where doctransferId=" + id; return this.getHibernateTempl 阅读全文
posted @ 2012-10-15 09:55 光辉飞翔 阅读(939) 评论(0) 推荐(0)
 

2012年10月12日

摘要: td标签设置background属性时,最好选择在style中设置效果没区别<td background="bg1.jpg"></td> 为html语法style="background-image(image,color等等)"css 语法实现的是一样!!不过第二个 方便! 阅读全文
posted @ 2012-10-12 16:43 光辉飞翔 阅读(7462) 评论(0) 推荐(0)
 
摘要: <jmesa:htmlColumn property="name" title="<%=Meeting.ALIAS_NAME%>"filterable="false"> <c:if test="${fn:length(item.name)>8}">${fn:substring(item.name,0,8)}...</c:if> <c:if test="${fn:length(item.name)<=8}">${item.na 阅读全文
posted @ 2012-10-12 13:53 光辉飞翔 阅读(6896) 评论(0) 推荐(1)
 
上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 52 下一页