Hello
I have an architectural / design with Forms, JSP, and dependencies between
HTML Form Elements.
Can JSP help me with a spec rquirement?
I have a HTML Screen with two pulldowns <select>...</select>
Let's call the first pulldown "country" and fill it with
{ united kindom, france }
Let's call the second one "city" and fill with either
`{ london, manchester, glasgow, cardiff, belfast }
or
`{ paris, nice, lyon, marseille, bordeaux, grenoble, st etienne }
or
whatever the selected item the first pulldown has.
See the problem ? Second pulldown depends on the first.
It is easy to write this as a static HTML web page if the data is static
and bind it with a little JavaScript.
But what if the values for the HTML Option element all come from a database.
I think you write some sort of OptionPulldownBean. But how do get these
beans depended on one another?
How would you write this requirement in JSP ( and the MVC pattern (sic) )?
Any ideas appreciated.
--
Peter Pilgrim
G.O.A.T
"The Greatest of All Time"
--
This e-mail may contain confidential and/or privileged information. If you are not the
intended recipient (or have received this e-mail in error) please notify the sender
immediately and destroy this e-mail. Any unauthorised copying, disclosure or
distribution of the material in this e-mail is strictly forbidden.
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets