-
Cannot find ActionMappings or ActionFormBeans collection
Hello sir,
I tried your program struts-blank but when i tried to compile it by typing http://localhost:8080/struts-blank/submit.jsp
I got an error like this.........
javax.servlet.ServletException: Cannot find ActionMappings or ActionFormBeans collection
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
org.apache.jsp.submit_jsp._jspService(submit_jsp.java:122)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans collection
org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:798)
org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:506)
org.apache.jsp.submit_jsp._jspx_meth_html_form_0(submit_jsp.java:153)
org.apache.jsp.submit_jsp._jspService(submit_jsp.java:107)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
-
pls check the struts' configure files.
in the jsp pages,
the form's action must match the url in the struts' configure files.
-
Hello, I know this will not help the person who have posted this query. I was trying to make a small application in struts 1.2.4 and came across the same error "javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans collection". i search the net and found that lot of people are facing this problem. I was able to fix the problem by changing the doctype in my struts-config.xml. the doc type was refering to 1.1. i changed the doctype string and the application started working..
The one which should be ther is :
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
"http://struts.apache.org/dtds/struts-config_1_2.dtd">
if you still are not able to figure out then u can mail me at saurav.nahata@itcinfotech.com
-
Hi,
I followed this example too. You retrieved that from some struts book.
If you are new to struts, a good starting point is to start by the
struts blank application. (inside the struts dist)
This way you start from a working one and you can add your components, making easier your application debug.
You haven't to add any jar that ships with struts, but only those that you need from your custom components you will add.
Cool JavaScript Formatter
Last edited by yaldex; 11-06-2006 at 05:32 AM.
Similar Threads
-
By Mike in forum VB Classic
Replies: 0
Last Post: 08-23-2000, 08:29 AM
-
By Sean Woods in forum VB Classic
Replies: 4
Last Post: 05-19-2000, 07:22 AM
-
By CB Green in forum VB Classic
Replies: 3
Last Post: 04-14-2000, 08:08 AM
-
By CB Green in forum VB Classic
Replies: 0
Last Post: 04-13-2000, 02:30 PM
-
By - John of Arc - in forum VB Classic
Replies: 0
Last Post: 03-11-2000, 10:37 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks