On 4/17/06, Kalcevich, Daniel <[EMAIL PROTECTED]> wrote:

> request.setAttribute( "exportDates", exportDates ); //exportDates =
> ArrayList<String>
>
> JSP:
>
> <html-el:select property="exportDate">
>       <html-el:options collection="${exportDates}" />
> </html-el:select>
>
> Error:
> 15:38:53,106 ERROR [action]:253 - Servlet.service() for servlet action
> threw exception
> javax.servlet.jsp.JspException: ServletException in
> '/jsp/templates/tab_content_template.jsp': ServletException in
> '/jsp/fine_export.jsp': Cannot find bean under name [04/17/2006,
> 04/16/2006]

You don't need the expression in the 'collection' attribute.  It wants
the _name_ of the bean.  You can see from the error message that the
String representation of the ArrayList is getting passed into the tag.

Try using just:
   <html-el:options collection="exportDates" />

--
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to