-0400
> From: d...@newfield.org
> To: user@struts.apache.org
> Subject: Re: using CompositeActionMapper
>
> rsilva wrote:
> > I dont not understand very much about Struts2 inject process but I fixed my
> > problem extending the compositeActionMapper with the following one:
> >
rsilva wrote:
I dont not understand very much about Struts2 inject process but I fixed my
problem extending the compositeActionMapper with the following one:
public class DebugCompositeActionMapper extends CompositeActionMapper {
@Override
@Inject
Hi,
I dont not understand very much about Struts2 inject process but I fixed my
problem extending the compositeActionMapper with the following one:
public class DebugCompositeActionMapper extends CompositeActionMapper {
@Override
@Inject(StrutsConstants.STRUTS_MAPPER_COMPOSITE
)
... 53 more
Caused by: java.lang.NullPointerException
at
org.apache.struts2.dispatcher.mapper.CompositeActionMapper.setActionMappers(CompositeActionMapper.java:108)
... 58 more
It seems Struts 2 is not injecting Container reference on
CompositeActionMapper.
Really strange.
I
Allen Lee wrote:
Hey there,
Has anyone successfully gotten CompositeActionMapper to work and how?
name="addressMapper"
class="com.mycompany.actionmapper.CustomActionMapper" />
name="compositeMapper"
class="org.apache.struts2.d
Hey there,
I'm trying to get the CompositeActionMapper working with Struts 2.1.2
(combining the Restful2ActionMapper and our own custom action mapper to
handle the default index page where the Action name is null in namespace
"/", i.e., http://localhost/our-app/ <http://loca
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 co
/CompositeActionMapper-tf3433990.html#a9872738
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
es, 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 struts.xml
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 struts.xml, it is not obvious to me how to do
it (in spite of the do
apper 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 struts.xml, it is not obvious to me how to do
> it (in spite of the documentation
--- 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'
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
configuratio
I am having some trouble getting the CompositeActionMapper to work
properly. I have the following specified in my struts.properties:
struts.mapper.class=org.apache.struts2.dispatcher.mapper.CompositeAction
Mapper
struts.mapper.composite=org.apache.struts2.dispatcher.mapper.DefaultActi
14 matches
Mail list logo