I wish to use CompositeActionMapper to chain multiple Custom ActionMappers.
in this case I get 'Http status 404'..
Any idea regarding?
Thanks,
Neha Bhatt
Deryl Seale wrote:
>
> As an update, I can obviously use url-pattern's in my web.xml to more
> finely control which requests get sen
I can propose you workaround. Simply replace
org.apache.struts2.dispatcher.FilterDispatcher.class in struts2 core library
with attached one. http://www.nabble.com/file/7722/FilterDispatcher.class
FilterDispatcher.class
PS: struts2 2.06
--
View this message in context:
http://www.nabble.com/Com
As an update, I can obviously use url-pattern's in my web.xml to more
finely control which requests get sent to Struts, but there is still
the matter of the embedded static resources bundled with the struts
library. Is there any setting to get the RestfulActionMapper to get
it to ignore r
Well I got a little further with this -- thanks!
Now I can get CompositeActionManager to work properly for actions
that are mapped both with traditional URL's (ie: /foo/bar.action) and
REST style URL's (/foo/bar/1). Unfortunately, this seems to have
screwed up loading static content url's
Deryl,
I'm not sure if you solved your problem but this is how I got it to work.
In the struts.mapper.composite value it is a list of the bean references
from the struts-default.xml it is not a list of class names. The bean name
for the DefaultActionMapper is struts. So you could configure the
--- Deryl Seale <[EMAIL PROTECTED]> wrote:
> I am having some trouble getting the
> CompositeActionMapper to work
> properly. I have the following specified in my
> struts.properties:
> [...]
Have you tried it like this in struts.xml?
(I haven't; this is what's in the API docs, though,
and
Yes, I tried that, and all I got was an exception when I started up
the application saying that an ActionMapper with the name "struts"
had already been loaded, presumedly from struts-default.xml. If
there is a way to make Struts use CompositeActionMapper with some
configuration entry in st
7 matches
Mail list logo