struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Bauer <Matthias.Ba...@livinglogic.de>
Subject Re: [Workflow Extension] Classcast exception in GenericAction
Date Tue, 17 Dec 2002 07:17:20 GMT
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:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message