This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cannot find ActionMappings or ActionFormBeans collection

as chhipa
Posts: 26
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody
I am getting follwing exception when open the index.jsp page

javax.servlet.ServletException: Cannot find ActionMappings or ActionFormBeans collection
at org.apache.jasper.runtime.PageContextImpl.handlePageException(
at org.apache.jsp.index_jsp._jspService(
at org.apache.jasper.runtime.HttpJspBase.service(

Tomcat version---------> jakarta-tomcat-4.1.31
Java Version ---------> j2sdk1.4.2

Follwing is index.jsp page

<%@ page language="java" %>
prefix="html" %>
<html:form action="lookup">
<table width="45%" border="0">
<td><html:text property="symbol" /></td>
<td colspan="2" align="center"><html:submit /></td>

Follwing is web.xml

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"


<display-name>Tomcat Examples</display-name>
Tomcat Example servlets and JSP pages.



Folwing is struts-config.xml

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE struts-config
PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
<form-bean name="lookupForm" type="ch03.LookupForm" />
<action path="/lookup" type="ch03.LookupAction" name="lookupForm" >
<forward name="success" path="/quote.jsp" />
<forward name="failure" path="/index.jsp" />
Jar Files included in the WEB-INF/lib folder
Brent Sterling
Ranch Hand
Posts: 948
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is a handy page that I ran across recently:

A quote from that page related to this error:

Another element that must be present in the web.xml file is the load-on-startup element. This can be either an empty tag or can have an integer specified that indicates the priority of executing the associated servlet. The higher the number in the load-on-startup tags, the lower its priority.

Try adding an entry like this just before your closing servlet tag:

- Brent
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic