permaculture playing cards
The moose likes Struts and the fly likes Cannot find bean in any scope - Problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Cannot find bean in any scope - Problems " Watch "Cannot find bean in any scope - Problems " New topic

Cannot find bean in any scope - Problems

jferreira jferreira teste

Joined: Jan 11, 2010
Posts: 5
Hi Everyone,

I've seen this error posted several times, but I haven't been able to resolve it. I'm trying to get a tutorial to work without much success. The error I'm getting is "Cannot find bean book in any scope". Can someone please take a look at this and let me know what the problem might be. I appreciate any and all responses.


****** Action Class *******

**************Auction FOrm **************************

**************Error *******************

javax.servlet.ServletException: Cannot find bean: "Contact2List" in any scope
at org.apache.jasper.runtime.PageContextImpl.handlePageException(
at org.apache.jsp.CLIST_jsp._jspService(
at org.apache.jasper.runtime.HttpJspBase.service(

Thank you for any help you can provide.

Ankit Garg

Joined: Aug 03, 2008
Posts: 9466

Please Use Code Tags when you post a source code. That way your code looks formatted. Unformatted code is hard to read. You can add code tags by wrapping your code in [code] [/code] tags. You can edit your message using button and then add code tags to it.

In your Action declaration, you have name="Contact2ListForm" and in your logic:iterate tag, you are using the name name="Contact2List"...

SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
I agree. Here's the link:
subject: Cannot find bean in any scope - Problems
It's not a secret anymore!