Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Retaining Retaining Drop down value

 
LakshmiNarayana vishnu
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

In my jsp page i am having 2 drop downs.after selecting first drop down value,which is coming from DB then request go to controller to fetch the second drop down box value and back to the same JSP...While it is coming back i have to retain my 1st drop down value as well as other field values...

Please Help me on this...

Thanks in Advance,
Narvish
 
Michael Ku
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you post the values to the controller they will be avialable to pass to the JSP.
 
LakshmiNarayana vishnu
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not getting...any help..

Regds,
Narvish
 
Michael Ku
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please explain what you are having trouble with. The selected value from the first drop down will be posted. Then you just set it as the selected value when you visit the JSP the second time.

What have you done so far?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic