aspose file tools*
The moose likes Struts and the fly likes To highlight multiple selected values in listbox using struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "To highlight multiple selected values in listbox using struts " Watch "To highlight multiple selected values in listbox using struts " New topic
Author

To highlight multiple selected values in listbox using struts

malli
Greenhorn

Joined: Dec 12, 2006
Posts: 6
Hi..

I have a registration form where i am using a listbox where we can select multiple values.I am storing these values concatenating with commas(for eg. A,B,C).Now i have to update this registration form, so i have to retrieve these values and to hightlight the previously selected values.
I have the idea that first i have to retrieve that field from database and split the commas and then i have to write the code in the front end to display the values.
But in real time i m unable to display in front end.

Thanks

Cheers
Mallik
Anirvan Majumdar
Ranch Hand

Joined: Feb 22, 2005
Posts: 261
Have you written any front-end code to accomplish your "idea"? There are a whole lot of ways to do what you want: JSTL, logic tags (incase you're using Struts), simple Java sciptlets, etc.

If you've already employed some technique, then you could share it with us and we'd be in a better position to help you out thereon.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: To highlight multiple selected values in listbox using struts