摘要: 1 package test; 2 3 /** 4 * 递归求阶乘 5 * @author Administrator 6 * 7 */ 8 public class RecursionTest { 9 10 /**11 * @param args12 */13 public static void main(String[] args) {14 System.out.println(recursion(3));15 16 }17 public static int recursion(int number){18 ... 阅读全文
posted @ 2012-03-20 23:40 lhc、 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 使用JSON对象需要用到下面几个包:这几个包到百度上搜json jar包应该会有下载的地方,上面这几个可能有用不到的。对这几包还不太清楚。html页面代码:View Code <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="Content-Type" content="t 阅读全文
posted @ 2012-01-13 13:50 lhc、 阅读(381) 评论(0) 推荐(0) 编辑
摘要: html页面内容View Code <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>ajaxTest</title>&l 阅读全文
posted @ 2012-01-12 15:58 lhc、 阅读(368) 评论(0) 推荐(0) 编辑