Hi,
In struts 1.1 its not longer a deployment descriptor in the web.xml, its
configured as an attribute to the <action-mappings> element in the struts
config file.
Check the 1.1 docs, it should be in there

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, January 04, 2003 11:12 AM
Subject: extending ActionMappings in Struts 1.1 ?


> How do i deploy an extended ActionMapping in Struts 1.1 ?
> i.e. a class derived from org.apache.struts.action.ActionMapping
> with additional fields for properties set by  <set-property/>
> tags in my struts-config.xml file.
> With Struts 1.0 this was working fine by declaring a
> <init-param>
>   <param-name>mapping</param-name>
>   <param-value>NameOfMyExtendedActionMappingClass</param-value>
> </init-param>
> in the <servlet/>-Element used to deploy my
> org.apache.struts.action.ActionServlet in my web.xml file.
> However, Struts 1.1 seems to ignore this <init-param/>
> and simply passes an ActionMapping to my Actions' execute methods.
> Consequently Java throws a ClassCastException when i try
> to cast the passed mapping-Object back to my Class-type.
> any help would be greatly appreciated.
>
>
>
> --
> 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