This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
Netbeans Tomcat error
Deploy Strut2 application using Netbeans 6.8
Apache Tomcat not listening to other network system.
response.sendRedirect help needed
Hide index.jsp or index.do with struts