Is this a typo or maybe the problem:

-- snip --
..
<form-beans type="org.apache.struts.action.ActionFormBean">
  <form-bean name="playerMessageForm"
         ype="com.dceg.webapps.messaging.PlayerMessageForm" />
</form-beans>
..

You'll notice that you have "ype" not "type".

My names' not "Syntax Error" for nothing!

> -----Original Message-----
> From: Kevin J. Turner [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, March 10, 2002 12:57 PM
> To: Struts Users Mailing List
> Subject: I'm bagging my head on the keyboard on this one: Cannot
> retrieve definition for form bean PlayerMessageForm
>
>
> I'm getting this error message:
>
> Cannot retrieve definition for form bean PlayerMessageForm
>
> (PlayerMessageForm is a form bean in my project)
>
> Here is that path I am following (struts-config entries to follow:
> 1) (other actions.. omitted for brevity)
> 2) /messageTypePRE.do, which forwards to...
> 3) /messaging/start.jsp, which submits to
> 4) /messageTypePOST.do, which forwards to...
> 5) /playerListPRE.do, which forwards to...
> 6) /messaging/playerList.jsp, where I get the error message
>
> I know for a fact that the action playerListPRE.do does complete its
> processing. I verified this with the debugger and also with
> System.out statements. Its when it tries to load the JSP page,
> player_list.jsp. that it craps out. Even with the following bare-
> bones version of player_list.jsp:
>
> -- snip --
>   <body>
>   <html:form action="/editMessage.do">
>
>   </html:form>
>   </body>
> -- snip --
>
> I have the following mappings (among others) in my struts-config.xml
> file:
>
> -- snip --
> ..
> <form-beans type="org.apache.struts.action.ActionFormBean">
>   <form-bean name="playerMessageForm"
>          ype="com.dceg.webapps.messaging.PlayerMessageForm" />
> </form-beans>
> ..
> <action path="/messageTypesPOST"
>    type="com.dceg.webapps.messaging.MessageTypeAction"
>    name="playerMessageForm"
>    scope="request"
>    parameter="POST"
>    validate="false">
>   <forward name="allPlayers" path="/allPlayers.do" />
>   <forward name="playerList" path="/playerListPRE.do" />
>   <forward name="gameTypes"  path="/gameTypesPRE.do" />
> </action>
>
> <action path="/playerListPRE"
>    type="com.dceg.webapps.messaging.PlayerListAction"
>    name="playerMessageForm"
>    scope="request"
>    validate="false"
>    parameter="PRE">
>    <forward name="next" path="/messaging/player_list.jsp"/>
> </action>
>
> -- snip --
>
>
> So what is causing "Cannot retrieve definition for form bean
> PlayerMessageForm" error??? Anyone?
>
> --
> Kevin J. Turner / dot com Entertainment Group
> 150 Randall Street, Oakville, Ontario L6J 1P4
> telephone: 905.337.8524 fax: 905.337.8630
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to