显示下一条  |  关闭

远方传来的眼神

 
 
 
 

日历

 
 
模块内容加载中...
 
 
 
 
 
 我要留言
 
 
 
留言列表加载中...
 
 
 
 
 
 
 
 
 
 
 
 
下载音乐盒  曲目表歌词秀
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

struts2 页面 debug代码

2011-11-4 17:32:05 阅读5 评论0 42011/11 Nov4

  struts2 debug 代码

 

  <s:fielderror />
  <s:debug />
  <a href="javascript:void(0);"
   onclick="toggleDebug('debug');return false;">11</a>


作者  | 2011-11-4 17:32:05 | 阅读(5) |评论(0) | 阅读全文>>

[JavaScript]页面计算功能

2009-1-22 7:44:43 阅读58 评论1 222009/01 Jan22

<script>
function checkInt(o){
  theV=isNaN(parseInt(o.value))?0:parseInt(o.value);
  if(theV!=o.value){o.value=theV;}
  txtTotal.value=txtAmount.value*txtPrice.value;
}
function checkP(o){
  theV=isNaN(parseFloat(o.value))?0:parseFloat(o.value);
  theV=parseInt(theV*100)/100;
  if(theV!=o.value){
    theV=(theV*100).toString();

作者  | 2009-1-22 7:44:43 | 阅读(58) |评论(1) | 阅读全文>>

[Java]日期时间常用的功能函数

2009-1-10 10:31:01 阅读109 评论0 102009/01 Jan10

package com.sinosoft.thsweb;

import java.sql.Timestamp;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.Locale;
import java.util.MissingResourceException;
import java.util.ResourceBundle;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

作者  | 2009-1-10 10:31:01 | 阅读(109) |评论(0) | 阅读全文>>

SqlServer开启OpenRowSet

2009-1-10 10:29:28 阅读53 评论0 102009/01 Jan10

exec sp_configure 'show advanced options',1
reconfigure
exec sp_configure 'Ad Hoc Distributed Queries',1
reconfigure

作者  | 2009-1-10 10:29:28 | 阅读(53) |评论(0) | 阅读全文>>

[JSP]Display Tag

2009-1-6 23:27:01 阅读212 评论0 62009/01 Jan6

    下载它的jar包了,这里可以下载到最新的版本。将jar包放到WEB-INF的lib文件夹下。另外还需要两个辅助包:apache的commons-lang和standard包,更多的辅助包可以在这里下载。
在web.xml下添加一个filter
<filter>
<filter-name>exportFilter</filter-name>
<filter-class>org.displaytag.filter.ResponseOverrideFilter</filter-class>
</filter>
在jsp页面做一个引用:
<%@ taglib uri="

作者  | 2009-1-6 23:27:01 | 阅读(212) |评论(0) | 阅读全文>>

查看所有日志>>

 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2012

   
创建博客 登录  
 关注