摘要:
JSP被编译成Serverlet[java]view plaincopy/**GeneratedbytheJaspercomponentofApacheTomcat*Version:ApacheTomcat/7.0.42*Generatedat:2013-09-0312:56:20UTC*Note:Thelastmodifiedtimeofthisfilewassetto*thelastmodifiedtimeofthesourcefileafter*generationtoassistwithmodificationtracking.*/packageorg.apache.jsp.jsp;将 阅读全文
摘要:
标准Servlet[java]view plaincopypackagecom.myHelloWorld;importjava.io.IOException;importjava.io.PrintWriter;importjavax.servlet.ServletException;importjavax.servlet.http.HttpServlet;importjavax.servlet.http.HttpServletRequest;importjavax.servlet.http.HttpServletResponse;publicclassHelloWorldextendsHttp 阅读全文
摘要:
java和js中遍历数组和对象的总结在这儿写遍历数组和对象,权当复习和总结1.java中数组的三种初始化方法①静态初始化[java] view plaincopy1.int[] arr = {1,2,3}; 2.Man[] mans = {new man("张三",20),new man("李四",11)}; 也可以这样写[java] view plaincopy1.int[] arr; 2.arr = new int[]{1,2,3};//不要忘了右边的[] 但不能这样写,会报错[java] view plaincopy1.int[] arr; 将夜2 阅读全文