I mostly have experience with original struts. But now I am attempting to use Struts 2. I am trying to figure out how I can populate the select tag.
I have created an action class, called Blast with the following attributes: 1. List<Database> databases = new ArrayList(); There are two methods, getDatabases and setDatabases I have created another class called Database with the following attributes: 1. int id 2. String database 3. String databasetype I want to use the select tag to access the List of Database objects in the action class Blast> This is how I am using the action class: <s:select name="database" list="databases" listKey="id" listValue="database" "emptyOption="true"></s:select> As you can see, I specify the list equal to databases which should correspond to getDatabases in my action class, Blast. My listKey is equal to id, which should correspond to the id field in my Database class. And finally, listValue should correspond to database in my Database class. My jsp page fails to compile/execute giving errors like: /view/Index.jsp(55,87) Unterminated <s:select tag or -- Randall Svancara System Administrator Horticulture and Landscape Architecture 509-335-7093 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]