數組 哈希表 屬性類
動態小數據操作是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