• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Bydeafult drop down select value not reflect in the bean

 
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 5575
Eclipse IDE Windows XP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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]
 
Fire me boy! Cool, soothing, shameless self promotion:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic