Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with html:select

 
AbhiRam Kalyan
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am getting the following error, unable to find out please help:

My jsp page:

Action class:


Snippet from ActionForm:

data access code:


I am able to get the data in to projectManagerList in action class and by iterating it i am able to print the data.
Please help me out where is error?
Thanks
Sasikanth
 
Brent Sterling
Ranch Hand
Posts: 948
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
At first glance, it looks like you have your property attributes switched. The property of the html:select tag is the value of the selected item where the property of the htmlptionsCollection tag is the collection to iterate.

Like this:


- Brent
 
AbhiRam Kalyan
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Brent,
Thankyou very much,now its working..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic