Apache Jakarta Struts Common errors and mistakes

org.apache.jasper.JasperException: Cannot find ActionMappings or ActionFormBeans collection

Add the <load-on-startup> tag to the servlet configuration.

See http://threebit.net/tutorials/ejb/general/

Duplicate action types

If you have 2 actions with the same action type, which points to a class, struts will not warn you and pick one. To debug this, as part of your action, you can log the action mapping that is returned.

Cannot find bean org.apache.struts.taglib.html.BEAN in any scope

Ensure your html:xxxx properties are enclosed within the html:form tag

Published: Thursday, 27 May 2004