ServletException类
定义
public class ServletException extends Exception
当 Servlet 遇到问题时抛出的一个异常。
构造函数
public ServletException();
public ServletException(String message);
public ServletException(Str...
分类:
其他好文 时间:
2015-06-15 14:42:20
阅读次数:
127
private void writeFYFileToTxt(List list, HttpServletRequest request, String drxh, FileOutputStream fos, String currDate, int start, int end, List extL...
分类:
其他好文 时间:
2015-06-15 14:30:41
阅读次数:
137
在写代码的时候这样写: 1 import java.util.ArrayList; 2 import java.util.List; 3 4 public class TestConversion { 5 public static void main(String[] args) 6 ...
分类:
编程语言 时间:
2015-06-15 14:29:59
阅读次数:
93
String zipFile = /D:/+ ".zip";StringOperator.zip(filePath, zipFile);InputStream is = null;OutputStream os = null;BufferedInputStream bis = null;Buffer...
分类:
其他好文 时间:
2015-06-15 14:21:54
阅读次数:
131
Given a string containing just the characters'('and')', find the length of the longest valid (well-formed) parentheses substring.For"(()", the longest...
分类:
其他好文 时间:
2015-06-15 13:04:56
阅读次数:
82
public class MainActivity extends MapActivity {private MapView mapView;//百度地图的相关控件private BMapManager bMapManager;//加载地图的引擎private String keyString = ...
分类:
其他好文 时间:
2015-06-15 13:04:11
阅读次数:
112
字节流:字节输入流(InputStream)、字节输出流(OutputStream)public static void main(String[] args) throws Exception { File file = new File("D:" + File.separator + "t...
分类:
其他好文 时间:
2015-06-15 12:57:20
阅读次数:
111
这道题思想上没什么难度,主要是许多的细节需要考虑,挺麻烦的,就没自己写了。class Solution {public: bool isNumber(string s) { string num = s; int i=0; while(num[...
分类:
其他好文 时间:
2015-06-15 12:48:35
阅读次数:
93
黑马程序员------String和StringBuffer、StringBuilder1.1StringString是一个特殊的对象,一旦被初始化,就不会被改变。()指的是abc 不是变量 s1.String s1="abc"; s1是一个类类型变量,“abc”是一个对象。String s2=ne...
分类:
其他好文 时间:
2015-06-15 12:47:25
阅读次数:
78
1.切分字符串为数组:if (StringUtils.indexOf(activities, "_") != -1) 首先判断activites是否不为null{ String[] temps = activities.split("_"); activities = temps[0];...
分类:
其他好文 时间:
2015-06-15 12:47:00
阅读次数:
114