aspose 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
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: struts - cannot find bean in any scope