This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes Mark Element of List Box on Build Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Mark Element of List Box on Build" Watch "Mark Element of List Box on Build" New topic
Author

Mark Element of List Box on Build

Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1393
Is there a way to mark as selected on certain line item of a list box as it is populated?

My list code:

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60765
    
  65

What do you mean by "mark"?

If you really mean "select", then add the selected attribute to the element.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1393
Thanks Bear.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Mark Element of List Box on Build
 
Similar Threads
Comparing values using JSTL
Dependant drop down list boxes in JSP page
JSTL comparing variables
DIV Tag Loading Behavior is Erratic
Mixing JSP and Scriptlets throws compilation errors