Hi All,
I'm building a small select.jsp -> ReceiveServlet -> result.jsp
webapp as an experiment for struts mvc framework.
As I went further, I found I have one problem for select option
value for foreign chars.
in select.jsp:
-----------------------------------------------------
<html:form action="/select">
<html:select property="color">
<html:option value="?jpLangValueForWhite?" key="option1"/>
<html:option value="?jpLangValueForBlue?" key="option2"/>
<html:option value="?jpLangValueForGray?" key="option3"/>
</html:select>
<html:submit><bean:message key="submit"/></html:submit>
</html:form>
-----------------------------------------------------
What I want to do is avoid hardcoding the value of each option...
Could anyone please point me out how to do it?
Really thanks in advance,
Ken
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger.
http://im.yahoo.com