javascript combobox

Hey, fellow coders

I need a little help. I am developing an online railway reservation system. What i need is, when the user selects a train number from a combo box, he should be able to view the list of sources and destinations for that train number dynamically. The sources and destinations are present in a sql database which i am accessing through servlets. So everytime he selects a train number the train number should be sent to the servlet, retrieving the source and destination from the database and displaying it in the browser.

I was wondering if this possible. Any help would be greatly appreciated.

Thank you,

Tony.

[659 byte] By [nutcrackera] at [2007-10-2 20:46:52]
# 1
Yes, it's possible.But why do you need servlets? Are you doing that in JAVA SERVER FACES?
pringia at 2007-7-13 23:30:44 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Hi,No, i'm not using JSF. Servlets are kind of a design specification.
nutcrackera at 2007-7-13 23:30:44 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
Then, you are in the wrong forum.....
pringia at 2007-7-13 23:30:44 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
Thanks a lot for that. could you tell me which forum i need to be in?
nutcrackera at 2007-7-13 23:30:44 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 5
http://forum.java.sun.com/forum.jspa?forumID=33
pringia at 2007-7-13 23:30:44 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...