Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
jsp drop down boxes
Name: liliyaw Date: April 11, 2006 at 11:46:44 Pacific OS: linux CPU/Ram: 524 Product: don't know
Comment:
Hello everyone, I have a rather long list of select options, and I also have a mysql table that contains that very same data. I'd like to be able to streamline the data from the table into my select menu. I know enough of .jsp to read data from a table but not don't know enough to do something like this, and I know there is a way of doing this in .jsp. Could anyone please refer me to any code examples so I could see what needs to happen? Thanks in advance.
Name: Michael J (by mjdamato) Date: April 11, 2006 at 12:43:38 Pacific
Reply:
What do you mean by "I'd like to be able to streamline the data from the table into my select menu."
If you mean you just want to create the select list from all of the options in the table then you would do something like this (assuming rs = record set result and the option name/value is the first item in each record.):
Summary: This should hopefully be an easy one! I have a drop down box and I need to have a gap or a space between each item on that list. How do you create that gap. It must be in the style sheet right? ...
Summary: Hey guys, I have a good question, i created a small table for my web page (it has not been posted yet) this table sits under teh header banner and basically is 20 pixels high and 800 wide (full screen...
Summary: Hello, I am look for a cookie script (php or JavaScript) that will create a cookie of the users choice in a HTML drop down box and then when the user revisits the page the cookie will select that opti...