上一页 1 2 3 4 5 6 7 ··· 26 下一页
  2008年11月11日
摘要: 常用的,包含了各种文件的打开方式 web.xml文件中配置下载文件类型 TOMCAT在默认情况下下载.rar的文件是把文件当作text打开,以至于IE打开RAR文件为乱码,如果遇到这种情况时不必认为是浏览器的问题,大多数浏览器应该不会死皮赖脸地把二进制文件当作文本打开,一般都是服务器给什么浏览器就开什么.解决方法: 打开conf/web.xml,加入下面的代码. ... 阅读全文
posted @ 2008-11-11 16:13 kenty 阅读(1768) 评论(1) 推荐(0) 编辑
  2008年11月4日
摘要: http://wiki.dovecot.org/TimeMovedBackwards http://phorum.study-area.org/index.php?topic=53102.0 Nov 3 13:50:02 dhcppc7 dovecot: Time just moved backwards by 1 seconds. I'll sleep now until we're ba... 阅读全文
posted @ 2008-11-04 18:11 kenty 阅读(834) 评论(0) 推荐(0) 编辑
  2008年10月24日
摘要: var aa= parent.window.frames["text"].window.frames[1]; 或者 var aa= parent.window.frames["text"].window.frames["framesname"]; var pagecounts=aa.document.getElementById("pagecounts").value; 可以拿到frameset中... 阅读全文
posted @ 2008-10-24 13:10 kenty 阅读(1370) 评论(0) 推荐(0) 编辑
  2008年10月20日
摘要: 1. stream代表的是任何有能力产出数据的数据源,或是任何有能力接收数据的接收源。在Java的IO中,所有的stream(包括Input和Out stream)都包括两种类型: 1.1 以字节为导向的stream 以字节为导向的stream,表示以字节为单位从stream中读取或往stream中写入信息。以字节为导向的stream包括下面几种类型: input stream: 1) Byte... 阅读全文
posted @ 2008-10-20 22:22 kenty 阅读(498) 评论(0) 推荐(0) 编辑
  2008年10月16日
摘要: 做财务的东西总是比较有挑战的,性能,易用性,准确性都有很高要求,包括一些小的细节。 比如金额需要显示的时候转换成有千分位,小数点后保留2位等。去编辑的时候,又要格式化,把逗号都去掉。网上找了段代码,但是再次编辑会有问题,修改了一下,代码如下: function outputMoney(number) { number=number.replace(/\,/g,"")... 阅读全文
posted @ 2008-10-16 17:48 kenty 阅读(1853) 评论(0) 推荐(0) 编辑
  2008年9月26日
摘要: ASCII(str) 返回字符串str的第一个字符的ASCII值(str是空串时返回0) mysql> select ASCII('2'); -> 50 mysql> select ASCII(2); -> 50 mysql> select ASCII('dete'); -> 100 ORD(str) 如果字符串str句首是单字节返回与ASCII()函数返回的相同值。 如果是一个多字节字符... 阅读全文
posted @ 2008-09-26 11:23 kenty 阅读(626) 评论(0) 推荐(0) 编辑
  2008年9月9日
摘要: package me; import java.util.StringTokenizer; public class TestStringToken { public static void main(String[] args) { String wpskl="AAAAA,BBBBB,CCCCC,DDDDD"; /** *StringTokenizer(String s... 阅读全文
posted @ 2008-09-09 11:42 kenty 阅读(487) 评论(0) 推荐(0) 编辑
  2008年7月9日
摘要: #http://www.koders.com/noncode/fid17555C713B68486F2CC7EDFE7F7A63EE3CBCE461.aspx?s=mdef%3AgetUserId # CDDL HEADER START # The contents of this file are subject to the terms # of the Common Developm... 阅读全文
posted @ 2008-07-09 15:24 kenty 阅读(306) 评论(0) 推荐(0) 编辑
  2008年7月8日
摘要: Portal Server 7 Swallows Up Portlet Exceptions: The Useless MISC_ERROR Alert to portlet developers using Sun Portal Server 7! There is a pretty serious bug in the 7.0 release that will make it appear... 阅读全文
posted @ 2008-07-08 10:00 kenty 阅读(269) 评论(0) 推荐(0) 编辑
  2008年7月4日
摘要: Portal Server 7.2 on Windows XP, fail to run "setup.bat" command, plz help 2008-6-23 ??9:33 ... 阅读全文
posted @ 2008-07-04 15:35 kenty 阅读(648) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 26 下一页