Hello, I am doing a small project using servlets and JSP. My database is MS SQL 2000.
COuld you any one help me giving a sample code to implement the following:
Display drop down list which takes names from database table1. When one name in the first drop down is selected, it displays second drop down list depending on the name selected in first drop down list. When a name is selected in second drop down list a third drop down list is displayed. When element in third drop down list is selected a weblink is displayed which is obtained from the database.
What would be the database structure and also how this can be implemented using JSP, servlets, html?
Sorry I would like to add some more information to the previous post:
It should have a text box which if any new name is entered, it is added to the first drop down list which is automatically updated in the database. another option which can be used to delete any entry from the first drop down list if required.
Tough in space?, <a href="http://tjws.sf.net" target="_blank" rel="nofollow">Get J2EE servlet container under 150Kbytes here</a><br />Love your iPod and want it anywhere?<a href="http://mediachest.sf.net" target="_blank" rel="nofollow">Check it here.</a><br /><a href="http://7bee.j2ee.us/book/Generics%20in%20JDK%201.5.html" target="_blank" rel="nofollow">Curious about generic in Java?</a><br /><a href="http://7bee.j2ee.us/bee/index-bee.html" target="_blank" rel="nofollow">Hate ant? Use bee.</a><br /><a href="http://7bee.j2ee.us/addressbook/" target="_blank" rel="nofollow">Need contacts anywhere?</a><br /><a href="http://searchdir.sourceforge.net/" target="_blank" rel="nofollow">How to promote your business with a search engine</a>
Thanks for fast reply. I was not able to where to search for in http://www.backbase.com./ website. However I have to use a database so that new entries can be added and removed from the drop down menu.
When an option is select, it fires the "onselect" event handler, you can in this event handler, post a request to the server ,and get the result back, use DOM to insert these items into the second select.
Thanks for a wonderful solution you have provided. My sincere apologies if I have troubled some one here. You have really made a big help to me. I am improving on my programming skills.I was stuck in a small project. I tried to search in google, however could not get what I was looking for. Your examples will surely make me little wiser now
Thanks for your Wonderful help !!!
SCEA part I,TOGAF Foundation
You may have just won ten million dollars! Or, maybe a tiny ad.
SKIP - a book about connecting industrious people with elderly land owners