You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Keith Chew <ke...@jungledrum.co.nz> on 2002/02/28 01:11:15 UTC
ActionMapping...
Hi
In the latest snapshot, if declared in the web.xml:
<init-param>
<param-name>mapping</param-name>
<param-value>org.apache.struts.action.SecureActionMapping</param-value>
</init-param>
How do I get this Mapping in code?
I tried:
SecureActionMapping mapping =
(SecureActionMapping)getApplicationConfig(request).getProcessor().processMap
ping(request, response, path);
but it returns ActionMapping which causes a ClassCastException.
Can anyone assist?
Keith
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>