• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javax.servlet.jsp.JspException: Cannot find bean locationList in any scope

 
John Zwick
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am receiving this exception on my portlet when I click on the submit button on the form. index.jsp loads fine and is able to render locationList using <bean:write name="locationList"/>. I have tried to figure this out for days with no luck, I was hoping some of you can find something that I am not seeing.

The exception:
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 locationList in any scope
at com.ibm.ws.portletcontainer.invoker.impl.PortletServlet.doDispatch(PortletServlet.java:361)
at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:82)
at com.ibm.isclite.container.collaborator.PortletServletCollaborator.doDispatch(PortletServletCollaborator.java:124)

Here is the main body in index.jsp:


Here is part of my struts-config file:


In my action class, I store the locationList into a RenderRequest object:




 
Chris Boldon
Ranch Hand
Posts: 190
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wasn't aware that Struts tags could grab objects off the request attribute. I was always under the impression that it had to be set on the form.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic