You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Matthias Bauer <Ma...@livinglogic.de> on 2002/12/17 08:17:20 UTC
Re: [Workflow Extension] Classcast exception in GenericAction
Hi Hermod,
I guess you have not set
className="com.livinglogic.struts.workflow.ApplicationMapping" in every
action definition in struts-config.xml but are using Struts 1.1.
So either use Struts 1.0.x or refer to:
http://www.livinglogic.de/Struts/struts1_1.html
Good luck,
--- Matthias
hermod.opstvedt@dnb.no wrote:
>Hi
>
>When trying out your sample code, I get a ClassCast exception in
>GenericAction :
>
> public final ActionForward perform
> (ActionMapping mapping,
> ActionForm form,
> HttpServletRequest request,
> HttpServletResponse response)
> throws IOException, ServletException
> {
> ActionForward retVal;
> ApplicationMapping applicationMapping =
>(ApplicationMapping) mapping; <<<<---- ClassCast Exception here
>
>
>
>Regards
>Hermod Opstvedt
>Chief Architect
>Den norske Bank
>DnB IT Leveranse
>Postboks 7100
>5020 Bergen, Norway
>Phone : (+47) 55 21 90 64 / Mob: (+47) 957 40041
>EMail: hermod.opstvedt@dnb.no
>WWW: http://www.dnb.no
>
>
>
>
>* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>
>This email with attachments is solely for the use of the individual or
>entity to whom it is addressed. Please also be aware that DnB cannot
>accept any payment orders or other legally binding correspondence with
>customers as a part of an email.
>
>This email message has been virus checked by the virus programs used
>in the DnB Group.
>
>* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>