Hey, all.
I'm making my first venture into JavaScript/JAVA and have some questions.
I have a .jsp page with a form on it. On that form are two listboxes. I want the content of the first listbox to limit the content of the 2nd listbox based on a SQL query. Once the 2nd listbox is selected I want to fill a table based on info in those two listboxes.
And, need the ability to edit the data in the table and submit to a stored proc to update the database. The editing does not need to be in-line in the table.
I'd like to keep this in one .jsp page but I guess if I have to break it into multiple it's fine but it should be able to be done in one page, right? I'm very familiar with the Microsoft way of VBScript/server-side VBScript but going into JAVA (Macromedia JRun) on the server-side is all new to me. And I certainly miss the IDE from Microsoft with the IntelliSense.
What is a general way to do this or is there a general JavaScript/JAVA tutorial site with an example like this? I haven't found one yet. My biggest issue seems to be in incorporating client-side information into the middle of server-side code (specifically, accessing the listbox value and using that in server-side code).
Help!
BTW, I've been using this article for a starter.
I'm making my first venture into JavaScript/JAVA and have some questions.
I have a .jsp page with a form on it. On that form are two listboxes. I want the content of the first listbox to limit the content of the 2nd listbox based on a SQL query. Once the 2nd listbox is selected I want to fill a table based on info in those two listboxes.
And, need the ability to edit the data in the table and submit to a stored proc to update the database. The editing does not need to be in-line in the table.
I'd like to keep this in one .jsp page but I guess if I have to break it into multiple it's fine but it should be able to be done in one page, right? I'm very familiar with the Microsoft way of VBScript/server-side VBScript but going into JAVA (Macromedia JRun) on the server-side is all new to me. And I certainly miss the IDE from Microsoft with the IntelliSense.
What is a general way to do this or is there a general JavaScript/JAVA tutorial site with an example like this? I haven't found one yet. My biggest issue seems to be in incorporating client-side information into the middle of server-side code (specifically, accessing the listbox value and using that in server-side code).
Help!
BTW, I've been using this article for a starter.