Hi Dave,
If the attribute of the property name does not exists in the Action Mapping
list the program will not work.
I use following code
<global-forwards>
<forward name=" DatabaseRetrievalAction" path="/index2jsp"/>
</global-forwards>
<action-mappings>
<action path="/DatabaseRetrievalAction"
type="DatabaseRetrievalAction"
input="/index2.jsp"
name="DatabaseRetrievalActionForm"
scope="request">
<forward name="success" path="/DatabaseRetrievalResults.ftl"/>
</action>
</action-mappings>
Regards
Richard Markham
-----Ursprüngliche Nachricht-----
Von: Dave Newton [mailto:[EMAIL PROTECTED]
Gesendet: Samstag, 17. September 2005 20:47
An: Struts Users Mailing List
Betreff: Re: AW: Cannot find ActionMappings or ActionFormBeans
R. Markham wrote:
>Hi!
>Look at your config-struts.xml file. Why do you use
><global-forwards>
> <forward name="intro" path="/index.jsp"/>
> </global-forwards>
>
>action path="/DatabaseRetrievalAction"
>type="DatabaseRetrievalAction" input="/index2.jsp"
>
>Change "intro" to ="DatabaseRetrievalAction" or vice versa both names
should
>be equal. And the name of "form action" in index.jsp must be the same too.
>
>
What will changing the name of the forward do?
>Von: T West [mailto:[EMAIL PROTECTED]
>Whenever I try to start the Struts program,
>however, I receive this error:
>javax.servlet.ServletException: Cannot find ActionMappings or
>ActionFormBeans collection
>
>
Do you mean that this exception occurs when you start the app server or
when you visit a page? If the latter, what page are you visiting?
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]