This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how populate data from database

 
shivdayal Kushwaha
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone send me the working code

that can populate the list box from a bean.

Its really urgent. i am trying it since 2 days, but till not unsuccessful.
my id is shivdayal.tbt@gmail.com
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone send me the working code

Welcome to the ranch ! We usually do not spit out code like that Explain what your problem is, and how you are trying to do it. What have you got so far ?

Also, there are some important information you need to read, like this, and also this.
 
shivdayal Kushwaha
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Christophe Verré wrote:
Can someone send me the working code

Welcome to the ranch ! We usually do not spit out code like that :) Explain what your problem is, and how you are trying to do it. What have you got so far ?

Also, there are some important information you need to read, like this, and also this.



this is my jsp page

and my action class is look like this


and form class look like this

and example .java class is look like this...





when i am running this code i am getting exception like this please help me
Cannot create iterator for com.wrox.company.ExampleForm@16c1227
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to a more appropriate forum...
 
karan wadhwani
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
>><htmlptionscollection ="ExampleForm"
><htmlptionscollection ="exampleForm" same as you are setting in request.>
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For the benefit of developers to come, please fix the spelling of "employee" throughout your Java and JSP.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic