Have you put a collection named "locationList" in some scope? Nils-H
On Thu, Feb 26, 2009 at 10:01 PM, <hermann.x....@jpmchase.com> wrote: > Hi, > > I am receiving this exception on my portlet.... what am I missing? > ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the > service methods of the servlet: SPSInventory Portlet > . Exception thrown : javax.servlet.ServletException: > javax.portlet.PortletException: javax.servlet.jsp.JspException: Cannot > find bean under name locationList > at > com.ibm.ws.portletcontainer.invoker.impl.PortletServlet.doDispatch(PortletServlet.java:361) > at > com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:82) > .... > > Here is the main body in index.jsp: > <div align="center"><html:form focus="stock_id" > action="/searchInventory"> > <TABLE border="0"> > <TBODY> > <TR> > <TH>Location</TH> > <TD><html:select property="location" size= > "1" > styleId="location"> > <html:options collection= > "locationList" property="name" /> > </html:select></TD> > </TR> > <TR> > <TH>Client Id</TH> > <TD><html:select property="client_id" size > ="1"> > <html:options collection= > "clientList" property="name" /> > </html:select></TD> > </TR> > <TR> > <TH>Stock Id</TH> > <TD><html:text property="stock_id" styleId > ="field1" > onfocus="field1.select()" onblur= > "setFocus()" /></TD> > </TR> > <TR> > <TD><html:submit property="submit" value= > "Submit" /></TD> > <TD><html:reset /></TD> > </TR> > </TBODY> > </TABLE> > <BR></BR> > </html:form></div> > > > Here is part of my struts-config file: > <!-- Form Beans --> > <form-beans> > <form-bean name="requestFormBean" type= > "com.chase.adf.cpcinventory.forms.RequestFormBean"> > </form-bean> > </form-beans> > > <!-- Global Forwards --> > <global-forwards> > <forward name="getSearch" path="/getSearch.do" /> > <forward name="backToList" path="/summaryResults.jsp" /> > </global-forwards> > > <!-- Action Mappings --> > <action-mappings> > <action name="requestFormBean" path="/searchInventory" > scope="session" type= > "com.chase.adf.cpcinventory.actions.SearchInventoryAction"> > <forward name="success" path="/result.jsp"> > </forward> > <forward contextRelative="false" name="failure" > path="/failure.jsp"> > </forward> > <forward contextRelative="false" name= > "noResultsFound" path="/noResults.jsp"> > </forward> > <forward contextRelative="false" name= > "multipleResultsFound" path="/summaryResults.jsp"> > </forward> > </action> > <action name="requestFormBean" path="/getSearch" scope= > "session" type="com.chase.adf.cpcinventory.actions.GetSearchAction"> > <forward name="failure" path="/failure.jsp"> > </forward> > <forward name="success" path="/index.jsp"> > </forward> > </action> > </action-mappings> > > ----------------------------------------- > This communication is for informational purposes only. It is not > intended as an offer or solicitation for the purchase or sale of > any financial instrument or as an official confirmation of any > transaction. All market prices, data and other information are not > warranted as to completeness or accuracy and are subject to change > without notice. Any comments or statements made herein do not > necessarily reflect those of JPMorgan Chase & Co., its subsidiaries > and affiliates. > > This transmission may contain information that is privileged, > confidential, legally privileged, and/or exempt from disclosure > under applicable law. If you are not the intended recipient, you > are hereby notified that any disclosure, copying, distribution, or > use of the information contained herein (including any reliance > thereon) is STRICTLY PROHIBITED. Although this transmission and any > attachments are believed to be free of any virus or other defect > that might affect any computer system into which it is received and > opened, it is the responsibility of the recipient to ensure that it > is virus free and no responsibility is accepted by JPMorgan Chase & > Co., its subsidiaries and affiliates, as applicable, for any loss > or damage arising in any way from its use. If you received this > transmission in error, please immediately contact the sender and > destroy the material in its entirety, whether in electronic or hard > copy format. Thank you. > > Please refer to http://www.jpmorgan.com/pages/disclosures for > disclosures relating to UK legal entities. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org