Should I create an ActionForm subclass for a page in which I want to display the data?
I want to display data retrieved from a database. Should I cr开发者_Go百科eate a ActionForm subclass for it?
How should i do it in Struts 1?
The following example should help, you just need to replace the ActorData class with your data access code - http://www.vaannila.com/struts/struts-example/struts-pagination-example-1.html
精彩评论