struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <>
Subject Re: action global forward extension
Date Tue, 03 Feb 2004 18:17:37 GMT
Quoting Bradley Beddoes <>:

> Hi All.
> I wish to have some global forwards invoked as .do others as .do2 (so as
> to differentiate what filters get hit with the differing requests), Is
> this possible within struts? (Please see struts.conf below)

Struts supports only one mapping to the controller servlet.

Since you are using extension mapping, one thing to consider is to create an
artificial "directory" level in your action paths ("/foo/" and
"/bar/" instead of "" and "teardown.do2").  That way, you
can have different filters on "/foo/*" and "/bar/*".


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

View raw message