2012年11月13日

摘要: 最简单的方法,很有效啊: 点击鼠标右键→属性→桌面→自定义桌面→WEB→网页下面的选项 file:///c:/DOCUME.....前面的 勾去掉→确定。就好了哈。 阅读全文
posted @ 2012-11-13 09:06 juan1206 阅读(247) 评论(0) 推荐(0) 编辑

2012年11月8日

摘要: js文件 function udpateCommtiy(id,param) { $.post("/background/savegemStorage.do?param=updateState&bean.id="+id+"&bean.gemstoneState="+param,function(m){ if(m=="true") { $("#"+id).html("下架"); }else { $("#"+id).html("上架"); } } 阅读全文
posted @ 2012-11-08 19:39 juan1206 阅读(243) 评论(0) 推荐(0) 编辑

2012年10月23日

摘要: Java时间格式转换大全import java.text.*;import java.util.Calendar;public class VeDate {/** * 获取现在时间 * * @return 返回时间类型 yyyy-MM-dd HH:mm:ss */public static Date getNowDate() { Date currentTime = new Date(); SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); String dateStr... 阅读全文
posted @ 2012-10-23 14:43 juan1206 阅读(274) 评论(0) 推荐(0) 编辑

2012年10月22日

摘要: 方法一关键代码:<form action="" method="post" enctype="multipart/form-data" name="form1"><img src=" " name="image" border=0 id="img"/><br /><input name="picture" type="file" id="picture" 阅读全文
posted @ 2012-10-22 15:37 juan1206 阅读(179) 评论(0) 推荐(0) 编辑
摘要: char charAt(int index) 返回指定索引处的 char 值。 int codePointAt(int index) 返回指定索引处的字符(Unicode 代码点)。 int codePointBefore(int index) 返回指定索引之前的字符(Unicode 代码点)。 int codePointCount(int beginIndex, int endIndex) 返回此 String 的指定文本范围中的 Unicode 代码点数。 int compareTo(String anotherString) 按字典顺序比较两个字符串。 int compareT... 阅读全文
posted @ 2012-10-22 10:01 juan1206 阅读(170) 评论(0) 推荐(0) 编辑

2012年10月18日

摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb23 阅读全文
posted @ 2012-10-18 17:29 juan1206 阅读(739) 评论(0) 推荐(0) 编辑
摘要: http://blog.sina.com.cn/s/blog_5b01be8c0100gs9j.html页面介绍了fmt标签的用法。。。。 分享帖。。 阅读全文
posted @ 2012-10-18 11:27 juan1206 阅读(163) 评论(0) 推荐(0) 编辑

2012年10月16日

摘要: java.io.CharConversionException: isHexDigit处理java.io.CharConversionException: isHexDigit.最近项目运行出现了这个问题,刚开始就知道是编码问题,怎么改编码都不正确,在网上搜到的文章。如下:下面把解决办法发出来var url = "b.jsp?name=" + escape(u_name);服务端获取:String name=request.getParameter("name");name=new String(name.getBytes("iso-8859- 阅读全文
posted @ 2012-10-16 10:36 juan1206 阅读(1044) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb23 阅读全文
posted @ 2012-10-16 09:25 juan1206 阅读(762) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb23 阅读全文
posted @ 2012-10-16 09:19 juan1206 阅读(806) 评论(0) 推荐(0) 编辑

导航