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

Datasource/ActionForm Struts 1.3.x

 
Lorenzo Tagliaferro
Greenhorn
Posts: 20
Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to develope a simple MVC Model 2 project with Struts 1.3.8 (Netbeans).

I don't understand how to write a right code using DataSource and ActionForm.

Now I explain in detail: I'm not able to populate (setter/getter) the ActionForm Beans, by the Database (MySQL)!!

Someone can help to understand it, by an example or by a link to a website?!

Thanks in advance!!
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
*Why* aren't you able to populate an ActionForm from the database?
 
Lorenzo Tagliaferro
Greenhorn
Posts: 20
Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
David Newton wrote:*Why* aren't you able to populate an ActionForm from the database?


Sorry! ;-) Wrong question!

I don't know how to populate the ActionForm by the Database!

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic