Posted on 2006-01-11 14:40
yoyozy 阅读(162)
评论(0) 编辑 收藏
数组 哈希表 属性类
动态小数据操作是WEB开发中不可避免的,这就涉及到数组 哈希表 属性类等几个功能;本文提供本人常用语法和简单解释:
一般数组定义
//定义数组catalogs
public static final String[] catalogs =
{"Business","Entertainment","Law","Real
Estate","Medical","Services","Computers & Internet","Food","Other"};
//在form中逐个显示数组内容
<SELECT name="catalog">
文章来源:http://blog.donews.com/yoyozy/archive/2005/11/02/611872.aspx