This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Struts and the fly likes I am getting an error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "I am getting an error" Watch "I am getting an error" New topic
Author

I am getting an error

Ann Anderson
Greenhorn

Joined: Dec 29, 2008
Posts: 7
Hello everybody I am a new member. I am getting this error and the page is not displayed. Someone please help me.

!----------------------------------------------------------------------!
type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Cannot find ActionMappings or ActionFormBeans collection
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:460)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:355)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


root cause

javax.servlet.ServletException: Cannot find ActionMappings or ActionFormBeans collection
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:841)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:774)
org.apache.jsp.loginbodyVer1_jsp._jspService(loginbodyVer1_jsp.java:148)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


root cause

!-------------------------------------------------------------------------!
Thanks in advance.
Aalok Mishra
Ranch Hand

Joined: Dec 23, 2008
Posts: 41
Hi

from the description you have mentioned it is hard to understand anything so as to what is the cause of this error. Please enter some more information regarding the version of the technologies so that it is easy to give you a working solution over it. Meanwhile check your lib directory whether it has all the required jar files in it or not.Looks like servlet-api.jar file is missing in your application.


Thanks and Regards,
Aalok Mishra
InfoCepts, LLC
Ann Anderson
Greenhorn

Joined: Dec 29, 2008
Posts: 7
Thanks for replying. I have set the classpath for servlet-api.jar and it is also present in the path. now i have a new problem i am trying the example of validator framework. i am using struts1.3 .the link for the example is

http://www.javascriptdownload.net/site/page.asp?dsy_id=554

when i try to run this example it gives the error


!-------------------------------------------------------------------------!
type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Exception in JSP: /forms/order-form.jsp:36

33: <html:text property="email"/><BR>
34: <html:submit value="Order Now!"/>
35: </html:form>
36: <html:javascript formName="orderFormBean"/>
37: </CENTER>
38: </BODY></HTML>
39:


Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:451)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:355)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

root cause

javax.servlet.ServletException: ValidatorResources not found in application scope under key "org.apache.commons.validator.VALIDATOR_RESOURCES"
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:841)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:774)
org.apache.jsp.forms.order_002dform_jsp._jspService(order_002dform_jsp.java:142)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

root cause
!----------------------------------------------------------------------!


Thanks in advance
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: I am getting an error
 
Similar Threads
Cannot find ActionMappings or ActionFormBeans collection
Cannot find ActionMappings or ActionFormBeans collection
form page cannot find ActionMappings or ActionFormbeans
HTTP Status 500 -
Cannot find ActionMappings or ActionFormBeans collection