Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Struts
Struts HTML options tag clarification
Srinivasa Kadiyala
Ranch Hand
Posts: 237
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I have found the following code is populating a set of items for selecting in a popup. I do not understand how?
MyConst is a class that has values of contacts and there
My_Options="My_Options"
<html
ptions collection="<%=MyConst.My_Options%>" property="value" labelProperty="label" />
Thanks in advance
Srini
Marc Peabody
pie sneak
Posts: 4727
I like...
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
The collection was previously stored (probably in application scope) with that constant as the key. There might be a
servlet
run at startup that builds these kinds of collections and sets them to scope.
A good workman is known by his tools.
Srinivasa Kadiyala
Ranch Hand
Posts: 237
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Thanks Marc
Srini
Srinivasa Kadiyala
Ranch Hand
Posts: 237
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi Marc
You are right. The data is pulled from database and stoed as a vector object and set
req.getSession().setAttribute(My_Options,optionsTypes;
Thanks for giving timely clue..
Srini
Please do not shoot the fish in this barrel. But you can shoot at this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
how counter variable works in jsp
please help me with the ouput
badPage.jsp - HFSJ pg 458
problem with errorPage and isErrorPage="true"
Whizlabs SCBCD Exam simulator
More...