Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Bydeafult drop down select value not reflect in the bean  RSS feed

 
sumanta panda
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

This code is displaying English and French in the select list.

If we onchange the value in the jsp then its value is reflected properly in the java file.

But my requirement is if you have onchange its coresspoging selected value should be reflected in java file else the default selected value let say English should refelected in the java class.

But unless we cannot change the select dropdown value the the default data is not reflected in java class using bean.

Please help me what piece of code i change so that deafult selected drop down value data also reflect in java class also.




Thanks for the time.

Regards,
Sumanta
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sumanta panda wrote:
But unless we cannot change the select dropdown value the the default data is not reflected in java class using bean.


why ? do you ask this question to your Team Lead? [i guess you are working professional]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!