dcsimg
Cannot find ActionMappings or ActionFormBeans collection
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   A_V
Posted On:   Tuesday, June 22, 2004 11:03 PM

OS : Win2k J2EE server: Weblogic 8.1 SP1 I am running a very simple struts based web-application. It consists of two simple jsp pages: login.jsp, greet.jsp When I try to get to the login.jsp page I get exception originating from following line in login.jsp file : Here is the complete error message I get: javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans collection at org.apache.struts.taglib.html.FormTag.lookup()V(FormTag.java:717) at org.apache.struts.taglib.html.FormTag.doStartTag()I(FormTag.java:501) at jsp_servlet._pages.__login._jspService(Ljavax.servlet.http.HttpServletRequest;Ljavax   More>>

OS : Win2k

J2EE server: Weblogic 8.1 SP1


I am running a very simple struts based web-application. It consists of two simple jsp pages: login.jsp, greet.jsp


When I try to get to the login.jsp page I get exception originating from following line in login.jsp file :





Here is the complete error message I get:


			
javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans collection
at org.apache.struts.taglib.html.FormTag.lookup()V(FormTag.java:717)
at org.apache.struts.taglib.html.FormTag.doStartTag()I(FormTag.java:501)
at jsp_servlet._pages.__login._jspService(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(login.jsp:15)
at weblogic.servlet.jsp.JspBase.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(JspBase.java:33)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:1053)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:387)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletStubImpl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6310)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3622)
at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2569)
at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:170)
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)








			
<?xml version="1.0" encoding="UTF-8"?>





"-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"

"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">









type="com.clarify.LoginForm">



type="java.lang.String"/>



type="java.lang.String"/>









path="/pages/greet.jsp"

redirect="false"/>







type="com.clarify.LoginAction"

name="loginForm"

input="/pages/login.jsp"

scope="request"/>











			
<?xml version="1.0" encoding="UTF-8"?>





com.bea.wlw.runtime.core.servlet.WebappContextListener



action
org.apache.struts.action.ActionServlet

config
WEB-INF/struts-config.xml


debug
2


detail
2


validate
true

0



action
*




pages/login.jsp



tags/struts-bean
WEB-INF/struts-bean.tld



tags/struts-html
WEB-INF/struts-html.tld



tags/struts-logic
WEB-INF/struts-logic.tld



tags/struts-nested
WEB-INF/struts-nested.tld



tags/struts-template
WEB-INF/struts-template.tld



tags/struts-tiles
WEB-INF/struts-tiles.tld



BASIC
WebApp



The role allowed to access our content
guest



   <<Less
About | Sitemap | Contact