alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  
<td> <select name="mySelection" id="mySelection"> <option value="ONE">one <option value="TWO">two <option value="THREE">three <optgroup label="My Label 1" > <option value="AAA" >aaa </option> <option value="BBB" >bbb </option> <option value="CCC" >ccc </option> </optgroup> <optgroup label="My Label 2" > <option value="DDD" >ddd </option> <option value="EEE" selected="selected" >eee </option> <option value="FFF" >fff </option> </optgroup> </select> </td> </tr>

Other Struts examples (source code examples)

Here is a short list of links related to this Struts OptGroup-2.txt source code file:

Struts example source code file (OptGroup-2.txt)

This example Struts source code file (OptGroup-2.txt) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Struts tags/keywords

bbb, ccc, ddd, eee, eee, fff, label, label, my, my, one, selection:, three, two

The Struts OptGroup-2.txt source code

<tr>
    <td class="tdLabel">
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.