Unless you are submitting the request from a form you do not need an actionform that I know of.
If you are always displaying the same list i think you want to: Invoke the action The actions perform method should get a collection of beans representing each row in the database. You then stuff the collection into an attribute in the session the forward action should send you to the JSP page to display it where you iterate through it using the html taglib in struts... This is in a nutshell and does not necessarily cover good practices but it will get you working -----Original Message----- From: tbaskan [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 1:26 PM To: struts-user Subject: Starter question Hello everyone, I'm a beginner for Struts and can't still figure out how to do simple things with the framework. My difficulties are generally related with MVC, I think. For traning, I want to accomplish probably the easiest dynamic page for a web application: a page that shows some portion of a database table. To my understanding, I need the following: 1. a model object must have a static method that fetches rows from the database table and puts them in a Collection object. 2. a JSP page containing <logic:iterate> tags to iterate over this Collection. Now.. My real problem is how to attach these together. I decided to do this with an Action. I mean, when user hits a page like /myapp/groupList.do, the Action's perform method gets the Collection from model and sets it as a PageAttribute. But failed. Every <action> in configuration file needs a "name" property, which is an ActionForm. Do I need an ActionForm in this case? I need some enlightening. /tb. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>