This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to load select options using jstl with selected and disabled

 
rajiv jackz
Greenhorn
Posts: 29
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i just want load select options using jstl in jsp .
but condition is
1) category have many products
so category must be disabled,
2) one specific category must be set on top index


I have category and product as list available in jsp
eg: category1
product1
product2
category2
product1
product2

Any other way is there without using jstl
please help me out here!
thanks in advance
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33696
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's wrong with using JSTL? It's a standard part of JSP. You probably need to be filtering in the servlet to get the defaults as well.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic