This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Datasource/ActionForm Struts 1.3.x Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Datasource/ActionForm Struts 1.3.x" Watch "Datasource/ActionForm Struts 1.3.x" New topic
Author

Datasource/ActionForm Struts 1.3.x

Lorenzo Tagliaferro
Greenhorn

Joined: Jun 15, 2009
Posts: 20

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

Joined: Sep 29, 2008
Posts: 12617

*Why* aren't you able to populate an ActionForm from the database?
Lorenzo Tagliaferro
Greenhorn

Joined: Jun 15, 2009
Posts: 20

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!

 
 
subject: Datasource/ActionForm Struts 1.3.x
 
Similar Threads
ActionForm Thread Safety
A buildDTO() in Action or in ActionForm ???
Struts 1.3 form pocessing question
Struts:FormBean issue with html:select tag
JSP noob question from a velocity user