- 博客(7)
- 资源 (1)
- 收藏
- 关注
原创 response-实现验证码
public static final int WIDTH =120; public static final int HEIGHT= 25; /** * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response) */ protected void do
2015-12-30 23:45:49 278
原创 实现文件下载
response实现文件下载String path =this.getServletContext().getRealPath("/download/美女.jpg"); String filename = path.substring(path.lastIndexOf("\\")+1); //如果下载文件是中文,则文件名需要经过url编码
2015-12-29 23:50:57 205
原创 javase-反射字段学习记录
public class Demo5 {// public String name="张三";@Testpublic void test1() throws ClassNotFoundException, NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException,
2015-12-02 23:32:20 218
原创 javase-反射方法学习记录
public class Demo3 {//反射类的方法 public void test1()@SuppressWarnings("unchecked")@Testpublic void test1() throws ClassNotFoundException, NoSuchMethodException, SecurityException, IllegalAccessExc
2015-12-02 23:15:43 182
原创 javase-反射构造函数学习记录
package cn.reflect;import java.lang.reflect.Constructor;import java.lang.reflect.InvocationTargetException;import java.util.ArrayList;import java.util.List;import org.junit.Test;
2015-12-02 22:25:05 197
数据结构题集解答(c#)
2010-09-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人