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 struts.xml, it is not obvious to me how to do
it (in spite of the documentation).
--Deryl
On Mar 20, 2007, at 10:26 AM, Dave Newton wrote:
--- 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?
<bean
type="org.apache.struts2.dispatcher.mapper.ActionMapper"
name="struts"
class="org.apache.struts2.dispatcher.mapper.CompositeActionMapper"
/>
<constant name="struts.mapper.composite"
value="org.apache.struts2.dispatcher.mapper.DefaultActionMapper,foo.ba
r.MyActionMapper,foo.bar.MyAnotherActionMapper"
/>
(I haven't; this is what's in the API docs, though,
and I tend to avoid the properties file.)
d.
______________________________________________________________________
______________
No need to miss a message. Get email on-the-go
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Deryl Seale -- Director of Engineering
c: 734.883.9636
[EMAIL PROTECTED]
www.intel-assess.com