Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts : html:select

 
Alpa Malani
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a combo box which is filled by a method in bean. I call the method in <jsp:iterate collection="<%=beanname.methodname()%>. Now on change I submitthis page and getthe value selected. Actually the property which I take in select contais a concatenated value. I set them explicitly in action class. But when I use <logic resent> to check the value setfor id to show thatcombo box selected it is getting.

I only want the selected value in combo to be shown as selected in the selectbox.
 
Venkatraman Kandaswamy
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why dont you post the snippet for the combo box in JSP and the part in the servlet where you try to get the value of the combo box.

Also tell with an example what you are expecting and what you are actually getting.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65229
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the Struts forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic