Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regarding combo-box

 
gona jyoti
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends

Iam using combo-box for dispalying values from database,when i going to select
value from the combo box automaticaly the value from the combo-box goes into the action and get someother value from the database and display it in jsp.
when i am trying to get the value from combo box the selected value goes off and 1st value stays in the combo box. and unable to dispaly the modified value from the data base. that value comes to the form class but unable to display it in the jsp. can any bosy help me out from this problem.
i need the selected value should dispaly in combo box as well as the modified value should display in jsp.its little bit urgent. iam doing it in struts framework.

please help me.
thanks in advance.
gona
 
Brent Sterling
Ranch Hand
Posts: 948
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't completely understand what you are asking. Do you have JavaScript code that submits the form when the user makes a selection in the combobox? Maybe if you posted the relevant sections of your form, action and jsp somebody would be able to help.

- Brent
 
gona jyoti
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends

i want to display selected value in th combo box using struts.when i select combo box it should display other values in th jsp page along with selcted value in the combo box. please find a solution for problem as soon as possible.its urgent

thanks
gona
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic