struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Chew" <keith.c...@jungledrum.co.nz>
Subject ActionMapping...
Date Thu, 28 Feb 2002 00:11:15 GMT
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:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message