File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes struts - cannot find bean in any scope Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts - cannot find bean in any scope" Watch "struts - cannot find bean in any scope" New topic
Author

struts - cannot find bean in any scope

Madhvi Desai
Greenhorn

Joined: Feb 04, 2010
Posts: 3
hi

when i access http://localhost:8084/struts_try/try.jsp i get cannot find bean "nameList" in any scope exception...

but when i access http://localhost:8084/struts_try/try.do , it works fine.

can any one explain me what is the reason...

thanks in advance.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Because the action is what puts the bean into scope.
Madhvi Desai
Greenhorn

Joined: Feb 04, 2010
Posts: 3
hey David thnks for the reply...

But now link http://localhost:8084/struts_try/try.do is also not working... it is giving error like "The requested resource (/struts_try/try) is not available."

earlier it was running perfectly fine.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Restart? I have no way of knowing what you did, if you changed code that requires a restart, etc.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: struts - cannot find bean in any scope
 
Similar Threads
Hide index.jsp or index.do with struts
response.sendRedirect help needed
Apache Tomcat not listening to other network system.
Netbeans Tomcat error
Deploy Strut2 application using Netbeans 6.8