Re: Cannot Find Bean in Scope Request

2004-09-23 Thread Caroline Jen
What about putting the object PageBeans, which is actually a Collection, in an application scope. When the object is no longer in use, code: getComputer().getPlug().pull(); Do you think this approach is going to work? --- Jeff Beal <[EMAIL PROTECTED]> wrote: > Caroline Jen wrote: > > Q1. How co

Re: Cannot Find Bean in Scope Request

2004-09-23 Thread Jeff Beal
Caroline Jen wrote: Q1. How come I do not see validation warning messages? I have prepared validation.xml and put it together with the validator-rules.xml in the AppName/WEB-INF directory. I have also prepared the warning messages in the AppName/WEB-INF/classes/resources/application.properties

Re: Cannot Find Bean in Scope Request

2004-09-23 Thread Caroline Jen
Yeah, thank you for sheding light on the problem I have. My code had worked fine until form validation was added. I was testing if validation worked. Therefore, I intentionally left all text fields blank, menu not selected, and submit the form. Apprarently, the control returned to the 'content.

Re: Cannot Find Bean in Scope Request

2004-09-23 Thread Caroline Jen
I tried your suggestion: 1. deleted the tag; and 2. use the 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

Re: Cannot Find Bean in Scope Request

2004-09-23 Thread Jeff Beal
Caroline Jen wrote: The message is confusing because PageBeans (plural) is a Collection of PageBean (singular). Upon successful execution of a servlet, PageBeans (plural) is passed in a request scope to help creating a drop down menu in 'content.jsp'. And the 'content.jsp' with the drop-down menu

Cannot Find Bean in Scope Request

2004-09-23 Thread Caroline Jen
It is so stressful for having problems one after another. And I do not have the ability to see the causes of those problem on my own. The error message that appears in the browser (runtime problem, not compilation problem) is: '[ServletException in:/frame/content/content.jsp] Cannot find bean Pa

Re: Cannot Find Bean in Scope Request

2004-09-23 Thread Wendy Smoak
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: > scope="request" type="java.

Cannot Find Bean in Scope Request

2004-09-23 Thread Caroline Jen
It is so stressful for having problems one after another. And I do not have the ability to see the causes of those problem on my own. The error message that appears in the browser (runtime problem, not compilation problem) is: '[ServletException in:/frame/content/content.jsp] Cannot find bean Pa