The simplest thing is to expose the vproperty through the Action class, and the tag will find it there automatically. That way the tag doesn't need to know anything about scopes.
So, on the Action place a property that obtains the value from application scope. The MailReader application does this with the database object that a listener places in application scope on startup. A good practrice is to create a "support" base class for the Actions, and then put the Application scope properties there, so that any Action, and any page backed by an Action, can access the properties automatically. -Ted. On 10/25/06, Juan Espinosa <[EMAIL PROTECTED]> wrote:
Im using the tag iterator to iterato over a list of objects in the user session. Anyone knows hot to iterate over a list in the application <s:iterator value="days"> <p>day is: <s:property/></p> </s:iterator> sometingh like this <s:iterator value="days" scope="application"> <p>day is: <s:property/></p> </s:iterator> Regards Juan.
-- HTH, Ted. * http://www.husted.com/struts/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]