摘要:
......conn.setrequestmethod(httpconnection.get);conn.setrequestproperty("user-agent","profile/midp-1.0 configuration/cldc-1.0" );conn.setrequestproperty("content-language", "en-us" );.....
......
摘要:
如何在struts中进行分页处理
最近做struts项目涉及分页处理。下面就结合项目谈谈如何在struts中进行分页处理。
根据需要你可以选择一次读出所有数据然后再分页,以后每次分页不再读数据。另一种方法你可以每次只读出需要显示的数据,以后每次分页分别在读其他数据。两种方法本文都将简单介绍。
先介绍第一种,数据一次读入。适合数据量小的场合,首次装载页面会比较慢。
项目片断简介:项目中需要......
Step by Step: How to register a SCJP exam(in U.S.)
theres no straight forward link or action list of how to register a suns certification exam, here is what i got after hours search:
http://suned.sun.com/us/certification/java/java_progj2se.html 【程序编程相关:可以自动跳转到出错页面的servlet/】
1. enter suns website to purchase the exam you want to take, use the following link: 【推荐阅读:"Wave dash"】
...
下一页 摘要:
3、集合
groovy支持集合、list、map和数组
(1)lists
l 下面是创建list的例子,[]表示空list表达式
list = [5, 6, 7, 8]assert list.get(2) == 7assert list instanceof java.util.list emptylist = []assert emptylist.size() == 0emptylis......