Results 1 to 7 of 7
- 07-09-2009, 09:35 AM #1
Member
- Join Date
- Mar 2009
- Location
- new delhi
- Posts
- 9
- Rep Power
- 0
Attaching multiple combo box with each other on d basis of sql 2005.
hello friends :) ,
i m facing some problem in attaching multiple combo box with each other with the sql 2005 database in servlets.
ok so this is my problem in deatil:-
i just want to take multiple combo box on 1 page nd want to join all the combo box with sql database for data. And on the execution time when ever any user select value in the 1st combo box the value in the 2nd combo box should be automatically comes from sql database on the basis of value of 1st combo box.
and after that on clicking the submit button on the same page , all the selected data from combo boxes should be store in the sql 2005 database.
so friends , i hope u wil understand my problem nd reply me soon.
thank u ........
sachin.
- 07-09-2009, 10:05 AM #2
Hi,
Send ur code piece so that we can give suggestions.
-Regards
RamyaRamya:cool:
- 07-09-2009, 10:12 AM #3
Senior Member
- Join Date
- Dec 2008
- Location
- Hong Kong
- Posts
- 473
- Rep Power
- 5
// change of combobox1
make xmlhttprequest by javascript
check the content of page when response come back
// submit
just update the database by form values
- 07-09-2009, 12:02 PM #4
Member
- Join Date
- Mar 2009
- Location
- new delhi
- Posts
- 9
- Rep Power
- 0
hi,
actually i did'nt write the code about this topic , i just want to think 1st nd than apply the solution regarding this topic.
can you people tell me the way to solve this problem ?
i just want to know the methods which can solve this problem.
- 07-09-2009, 12:12 PM #5
Senior Member
- Join Date
- Dec 2008
- Location
- Hong Kong
- Posts
- 473
- Rep Power
- 5
make xmlhttprequest, can access database wont reload the page,
so can use to change content of checkbox2, checkbox3
for update database,
after you submit your form, just update the database by post/get form value in the target servlet
- 07-09-2009, 12:21 PM #6
Member
- Join Date
- Mar 2009
- Location
- new delhi
- Posts
- 9
- Rep Power
- 0
dear mtyoung,
i dont know the javascript. i know little bit servlets and jsp.
so if u give suggestions in these lang. so it wil better for me to understand.
- 07-11-2009, 03:13 AM #7
Senior Member
- Join Date
- Dec 2008
- Location
- Hong Kong
- Posts
- 473
- Rep Power
- 5
sorry, i am not teacher...
would you mind search ajax in google by yourself?Last edited by mtyoung; 07-11-2009 at 03:19 AM.
Similar Threads
-
Attaching the Java documentation
By Eranga in forum NetBeansReplies: 11Last Post: 08-09-2010, 04:17 AM -
BROWSING and ATTACHING MORE THAN ONE FILES IN JAVA
By nehaa in forum New To JavaReplies: 3Last Post: 01-23-2009, 12:11 PM -
creation of one combo box form another combo box
By er.tyagigaurav in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 12-09-2008, 03:14 PM -
[SOLVED] Attaching a mouseListener to a TreeViewer
By xcallmejudasx in forum New To JavaReplies: 1Last Post: 11-10-2008, 07:38 PM -
Attaching a drop-down box within a view(not toolbar)
By xcallmejudasx in forum EclipseReplies: 1Last Post: 10-28-2008, 06:59 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks