aspose file tools*
The moose likes Struts and the fly likes Struts :  html:select Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts :  html:select" Watch "Struts :  html:select" New topic
Author

Struts : html:select

Alpa Malani
Greenhorn

Joined: Mar 16, 2005
Posts: 2
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

Joined: Jul 07, 2004
Posts: 120
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.


--Venkatraman<br />SCJP 1.4<br /><a href="http://kvrlogs.blogspot.com" target="_blank" rel="nofollow">blog</a>
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61764
    
  67

Moved to the Struts forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts : html:select