<html:select property="language" onchange="submit();">
<html:option value="en" key="global.lang.ENGLISH" />
<html:option value="zh" key="global.lang.SIMPLE_CHINESE" selected/>
</html:select>
不知道是不是这样
<html:option value="en" key="global.lang.ENGLISH" />
<html:option value="zh" key="global.lang.SIMPLE_CHINESE" selected/>
</html:select>
不知道是不是这样
--
因为选中哪个是不确定的,是根据ie的语言自动选择。
自己再仔細得查暸一下文檔:value :
The value to compare with for ing an option selected. [RT Expr]
所有這樣就可以暸:
<html:select property="language" onchange="submit();" value="zh">
<html:option value="en" key="global.lang.ENGLISH" />
<html:option value="zh" key="global.lang.SIMPLE_CHINESE" />
</html:select>不過還是要謝謝各位!