File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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!

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Datasource/ActionForm Struts 1.3.x
 
Similar Threads
Struts:FormBean issue with html:select tag
JSP noob question from a velocity user
A buildDTO() in Action or in ActionForm ???
Struts 1.3 form pocessing question
ActionForm Thread Safety