struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank W. Zammetti" <fzli...@omnytex.com>
Subject RE: Cannot find ActionMappings or ActionFormBeans collection
Date Tue, 15 Nov 2005 15:12:16 GMT
Is that the *COMPLETE* struts-config.xml listing?  If so, it's not
complete and wouldn't be parsed properly, and hence the collections named
in the stack trace wouldn't have been created.

-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: fzammetti@hotmail.com

On Tue, November 15, 2005 7:20 am, Fulgencio Comendeiro, Eduardo said:
> In your jsp don't have property prop1, prop2
>
>       <html:text property="prop1" .....
>
> -----Mensaje original-----
> De: Mariano Garcia [mailto:mgarcia@entel.es]
> Enviado el: martes, 15 de noviembre de 2005 12:15
> Para: user@struts.apache.org
> Asunto: Cannot find ActionMappings or ActionFormBeans collection
>
>
> Hi guys,
>
> I have searched some posts about this subject, but not a valid solution
> was provided. I get an error and I don't know how to solve it, and I have
> not found a solution searching the web. The error is the following:
>
> 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)
> [...]
>
>
>
> My application is very easy, so it must be a typo or some error in my
> config files. This is the code:
>
> *** jsp page ***
> [...]
> <html:form action="/example">
> </html:form>
> [...]
>
> *** struts-config.xml ***
> <form-beans>
> 	<form-bean
> 	    	name="MyActionForm"
> 		type="org.apache.struts.action.DynaActionForm">
> 		<form-property
> 		        name="prop1"
> 		        type="String"/>
> 		<form-property
> 		        name="prop2"
> 		        type="String"/>
> 		</form-bean>
> </form-beans>
>
> <action-mappings>
>         <action
>             path="/example"
>             type="es.kiko.MyAction"
> 			name="MyActionForm"
> 			input="/jsp/example.jsp"
> 			scope="request"
>             unknown="false"
>             validate="false">
>
>             <forward
>                 name="success"
>                 path="/jsp/result.jsp"/>
>         </action>
>
> </action-mappings>
>
> Any help?
>
> Thanks a lot,
>
> --
> Mariano García González :: Analista Programador
> -----------------------------------------------
>
> Entel IT Consulting, SA
> Tlf.    91 567 07 36
> Mobile. 619 08 70 90
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message