Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想显示从数据库中检索到的数据。我应该为它创建一个 ActionForm 子类吗?
我应该如何在 Struts 1 中做到这一点?
以下示例应该会有所帮助,您只需将 ActorData 类替换为您的数据访问代码 - http://www.vaannila.com/struts/struts-example/struts-pagination-example-1.html