xutao5641745的博客
xutao5641745 · 共 83 篇文章
Exception from exceptionCommand 'servlet-exception'
2012-06-12 09:46:39,515 WARN (org.apache.struts.chain.commands.AbstractExceptionHandler:95) - Unhandled exception java.lang.NullPointerException at org.apache.struts.util.RequestUtils.rationalizeMultipleFileProperty(RequestUtils.java:504) at org.apache.struts.util.RequestUtils.populate(RequestUtils…
2012-06-12 09:48 · 常见问题及解决方案 · 评论(0) · Struts1.39BUG · Exception from exceptionCommand 'servlet-exception'
生活常识——动车、电梯
<!--StartFragment --> 深圳23日动车追尾事故发生,当旅客准备逃生时,他们发现用破窗锤砸玻璃无效,即使用尽全力砸车窗玻璃也文斯未动,最后从车厢裂断处逃生。实际上,安全锤砸玻璃中间是砸不开的,要砸玻璃的四个角!!!请你把这条短信转发给周围的人,普及这个重要的知识。 电梯下坠时怎么办? 有一天搭乘电梯,就遇上了电梯突然断电,虽然紧急供电系统几秒后就开始作用,可是电梯还是从13 楼迅速往下坠。 还好当时记起曾经看过电视教的, 赶快把每一层楼的按键都按下, 好在电梯在五楼终于停止了... 真的有捡回一条命感觉 ! 当你面临生死一线间时,当下的你所做的每一个动作将决定你的生死与否。…
2012-06-11 13:33 · 生活常识 · 评论(0)
转SpringMVC(深入研究)
原文出自: http://elf8848.iteye.com/blog/875830 一、前言: 大家好,Spring3 MVC是非常优秀的MVC框架,由其是在3.0版本发布后,现在有越来越多的团队选择了Spring3 MVC了。Spring3 MVC结构简单,应了那句话简单就是美,而且他强大不失灵活,性能也很优秀。 官方的下载网址是: http://www.springsource.org/download (本文使用是的Spring 3.0.5版本) Struts2也是比较优秀的MVC构架,优点非常多比如良好的结构。但这里想说的是缺点,Struts2由于采用了值栈、OGNL表达式、str…
2012-05-17 17:16 · SpringMVC · 评论(0) · SpringMVC · SpringMVC入门 · SpringMVC实战 · SpringMVC深入探究
commons之CharSetUtils
原文出自: http://liukai.iteye.com/blog/834351 package com.likai; import org.apache.commons.lang3.CharSetUtils; public class CharSetUtilsDemo { private static final String s = "Hello word !"; private static final String[] s1 = new String[]{"1","2","a","F","he","ord"}; public static void main(String[] ar…
2012-05-16 11:10 · commons.charsetUitls · 评论(0)
commons之RandomStringUtils
原文出自: http://liukai.iteye.com/blog/832193 import java.util.Random; import org.apache.commons.lang3.RandomStringUtils; public class RandomStringUtilsDemo { private static final Random RANDOM = new Random(); private static final int count = 4; private static final int start = 0; private static final …
2012-05-16 09:38 · commons.lang · 评论(1)
in和exists的区别,用数据说话
原文出自: http://sishuok.com/forum/posts/list/1154.html
2012-05-04 17:02 · 数据库基础 · 评论(0)
轻松掌握 ISO8583
原文出自: http://www.itpub.net/thread-419521-1-1.html 写道 我刚进入金融行业时,就知道了IS08583报文协议,我想可能我还没进入这个行业都已经听过了,可知ISO8583的影响力有多大了。最初刚接触它时,确实对其中的一些细节概念不是很清晰,对有些地方比较迷惑。鉴于此,我想很多同行也必然会经历同样得阶段,所以我写下本文,以便大家能够少走一些弯路。同时,我在网上(http://blog.csdn.net/lysheng/archive/2005/03/03/309914.aspx)写下我要写“全面掌握ISO8583报文”和“符合CEN/XFS(即WO…
2012-05-03 16:21 · 金融 · 评论(0)
采用jacob读取并在网页中显示ppt、word、excel .
原文出自: http://blog.csdn.net/chrysanthemum2008/article/details/5717765
2012-05-02 16:48 · JAVA基础类 · 评论(0)
伪造 referer
HttpURLConnection conn = (HttpURLConnection) new URL("http://localhost:8080/Test/Single").openConnection(); conn.setRequestProperty("User-Agent", "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Maxthon;)"); conn.setRequestProperty("Accept-Encoding", "gzip"); conn.setRequestProperty("referer", "…
2012-05-02 14:53 · JAVA基础类 · 评论(0)
深入理解HTTP协议(转) .
原文出自: http://blog.csdn.net/lxzo123/article/details/6707054
2012-04-28 17:30 · JAVA基础类 · 评论(0)
PowerDesign
原文出自: http://www.cnblogs.com/kenjie/archive/2009/08/14/1545753.html
2012-04-26 13:02 · tools · 评论(0)
点击按钮实现文件上传
通过点击按钮实现上传的主要目的是对用户友好。新浪微博则是通过点击文本实现图片上传。 一个简单的例子: <form method="post" action="http://localhost/" enctype="multipart/form-data"> <input type="button" value="请选择文件" size="30" onclick="f.click()" /> <input type="file" id="f" onchange="this.form.submit()" name="f" style="position:absolute; filter:alph…
2012-04-24 14:17 · html css · 评论(0) · Button · File
SpringMVC3
原文出自: http://blog.csdn.net/sunitjy/article/details/6782431 原文出自: http://www.blogjava.net/pengo/archive/2010/11/28/339229.html
2012-04-23 13:41 · JAVA基础类 · 评论(0)