For struts2 sj:select tag from google
<s:url id="remoteurl" action="KeywordcategoryAction"/>
<sj:select
href="%{remoteurl}"
id="language"
onChangeTopics="reloadsecondlist"
name="language"
list="languageObjList"
listKey="myKey"
listValue="myValue"
emptyOption="true"
headerKey="-1"
headerValue="Select Category"
value="why"
/>
for above jsp file, i can retrieve the data from KeywordcategoryAction for no
problem
but, the default value(why) as defined from KeywordcategoryAction did not
working at all
I try to change from value="why" to value="%{why}", but still not working,
the setting inside KeywordcategoryAction is the following
...
public String getWhy(String why) { return why; }
public void setWhy(String why) { this.why=why; }
why="Temperature";
return success;
please advise, thanks in advance
john