This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Exception" Watch "Exception" New topic
Author

Exception

Seetesh Hindlekar
Ranch Hand

Joined: Feb 13, 2004
Posts: 244
Dear all,

What is the root cause of this exception "javax.servlet.ServletException: Cannot find ActionMappings or ActionFormBeans collection"

Rgds,

Seetesh
Satish SN
Ranch Hand

Joined: Apr 19, 2005
Posts: 70
Hi Seetesh,

I feel check the class declarations of the ActionMappings and FormBeans while writing the classes they need to be "Public" bcoz i faced the similar problem and was able to solve by the above method.

other wise do check the web.xml in the struts servlet declaration does it have config param with the appropriate path where the struts-config.xml file is located.

I think above two observations should resolve ur problem.



Satish SN<br />SCJP 1.4 & SCWCD 1.4
Seetesh Hindlekar
Ranch Hand

Joined: Feb 13, 2004
Posts: 244
The new exception now is
javax.servlet.ServletException: Cannot find bean org.apache.struts.taglib.html.BEAN in any scope

Am I missing something?

rgds,

Seetesh
 
jQuery in Action, 2nd edition
 
subject: Exception
 
Similar Threads
WA #1.....word association
counting algorithm
void return type in JSP expression
why JMX can not stop
Java ranch rules roundup