It is confusing. If you are starting a new application then use
struts-config.xml and
delete action.xml. The action.xml was originally used with struts 0.5, after
that
struts-config.xml was created which replaces action.xml.
It is only left in the example application since struts 1.0
will still read from action.xml if it exists. Though I am not
sure if the example application actually uses action.xml
or not.
[EMAIL PROTECTED] wrote:
> Hello,
>
> going through the struts example I wonder why there is an action.xml and a
> struts-config.xml
> because there are many equal entries (action-mappings).
>
> Thank you for the explanation in advance.
>
> Regards
>
> Michael