struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Struts2 Fan" <>
Subject Re: How to create a <s:select> using the file
Date Fri, 02 Feb 2007 18:15:28 GMT
ERROR [jsp]: Servlet.service() for servlet jsp threw exception
tag 'select', field 'list': The requested list key '' could not be resolved
as a collection/array/map/enumeration/iterator type. Example: people or
people.{name} - [unknown location]
    at org.apache.struts2.components.Component.fieldError(
    at org.apache.struts2.components.Component.findValue(

<s:select list="" listKey="city.keys" listValue="city.values"

I don't know what to write to "list" attribute it is required but I want to
use the value in file as I said on the first message.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message