You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dave Newton <ne...@pingsite.com> on 2005/11/14 15:37:06 UTC

[OT] Re: Menu in Struts tiles

Please reply to the list rather than me personally.

Kanuri, Chand wrote:

> actually there is no database in my webapp.
> just want to have a menu which should get  menu items from properties file.
> how can i achieve this?or suggest me if there is any otherway plz.

Read the properties file during application initialization and create a list in application scope. In the menu tile iterate over this list and create the menu items.

Dave




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org