struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Galia Angelova <>
Subject Re: action mapping - how can I map ALL incoming urls to one action?
Date Wed, 13 Feb 2008 12:14:15 GMT
Thank you, Piero!

The problem with the interseptors is that they come after the ServletDispatcher. That means
that i get an exception before I get to the interseptors, because the mapping was not found

I think I have found a solution - custom ActionMapper. I extended the DefaultActionMapper
and override the method getMapping().
Then specified the full class name of my custom mapper in


Piero Sartini <> wrote: > I need to map all incomming urls to
one and the same action.
> This action works like a dispatcher - acctording to some data taken from
> the data base, decides where to redirect the request.
> I''ll appreciate any ideas!

I think an Interceptor would be a better solution for this:

To unsubscribe, e-mail:
For additional commands, e-mail:

Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message