I tried your suggestion: 1. deleted the <bean:define
...> tag; and 2. use the <html-el: ...> tags. The
drop-down menu gets displayed without problem. But,
when I click on the Submit button to submit that form,
I still get the same error message 'cannot find bean
PageBeans in scope request'. PageBeans (plural) is a
Collection of individual JavaBean; in my case, it is
PageBean (singular).
--- Wendy Smoak <[EMAIL PROTECTED]> wrote:
> From: "Caroline Jen" <[EMAIL PROTECTED]>
> > The error message that appears in the browser
> (runtime
> > problem, not compilation problem) is:
> > '[ServletException in:/frame/content/content.jsp]
> > Cannot find bean PageBeans in scope request'
> > Partial content.jsp code:
> > <bean:define id="pageList" name="PageBeans"
> > scope="request" type="java.util.ArrayList" />
>
> FWIW, I have lots of things in session scope, some
> in request scope, and I
> have *no* <bean:define> tags. I place them in the
> appropriate scope in the
> Action code.
>
> Example...
> <html-el:select property="type">
> <html-el:options collection="contactTypes"
> property="key"
> labelProperty="value"/>
> </html-el:select>
>
> It works fine... the tags find the collection in
> whatever scope it's in. I
> believe it looks in order:
> page|request|session|application scope and uses
> the first one it finds, but I could be making that
> up. :)
>
> --
> Wendy Smoak
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]