参考下面代码,在Action中加一个方法: 1 // 导出excel 2 public String excel() throws Exception { 3 StringBuffer excelBuf = new StringBuffer(); 4 excelBuf...
分类:
其他好文 时间:
2014-07-23 12:51:16
阅读次数:
193
很多小猿遇到这个Exception 的时候,都会有点无厘头。这个时候最好try-- catch下,找到出错的地方。本人习惯在页面上加个lable标签,把exc msg(exception message)输出的到lable,这样可以省的再调试,直接可以看到错误信息。但有时还是需要去打断点调试,这样才...
分类:
其他好文 时间:
2014-07-23 12:46:56
阅读次数:
197
Error : An error occurred creating the form. See Exception.InnerException for details. The error is: Class not registered (Exception from HRESULT: 0x8...
分类:
其他好文 时间:
2014-07-22 22:46:53
阅读次数:
194
自定义类加载器是在是血的不怎明白这里只学会了一个简单的加密解密方法//定义一个加密方法public static void md(InputStream inputStream,OutputStream outputStream) throws Exception{int b = 0;while((...
分类:
其他好文 时间:
2014-07-22 00:21:33
阅读次数:
196
XMLMapperBuilder.java ? //解析<cache?/>?配置元素,创建cache对象
private?void?cacheElement(XNode?context)?throws?Exception?{
????if?(context?!=?null)?{
??????String?typ...
分类:
其他好文 时间:
2014-07-21 23:31:03
阅读次数:
414
《Android JNI 专题>共分为四期:
Jni简单demo
Jni基本数据类型和方法介绍
Jni解析java自定义数据类型和回调java方法
Jni performance提高和Exception规避...
分类:
移动开发 时间:
2014-07-21 11:21:04
阅读次数:
268
public static void importExcel2(File file) throws Exception { InputStream is = new FileInputStream(file); Workbook workbook; ...
分类:
其他好文 时间:
2014-07-21 09:33:49
阅读次数:
220
1 Object.seal(O)的调用When the seal function is called, the following steps are taken: If Type(O) is not Object throw a TypeError exception. For each nam...
分类:
其他好文 时间:
2014-07-21 09:03:28
阅读次数:
248
Reverse digits of an integer.
Example1: x = 123, return 321
Example2: x = -123, return -321
click to show spoilers.
Have you thought about this?
Here are some good questions to ask before c...
分类:
编程语言 时间:
2014-07-20 22:12:03
阅读次数:
251