Hi Koen,
Use the struts-config.xml if you want to create a new application. It's the
new version 1.0 file format used by struts. For compatibility with version
0.5, Struts can read the old action.xml file. The version you choose to use
is defined in web.xml:
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
...
Pierre Métras
----- Original Message -----
From: "De Smet Koen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 24, 2000 8:05 AM
Subject: Difference between action.xml and struts-config.xml
> Hello,
>
> We're looking at struts for a few days now and it looks good, but I was
> wondering the following:
>
> What's the difference between action.xml and struts-config.xml for the
> action mapping? I see that in both files you nearly define the same
things.
>
> Can somebody explain us the difference please?
>
> Thanks,
>
>
> Koen De Smet
> The Capital Markets Company
> T +32 3 740 11 96
> F +32 3 740 10 01
> Mobile +32 497 51 88 51
> e-mail mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> web http://www.capco.com/ <http://www.capco.com/>
>
>
> ************************************************************************
> The information in this email is confidential and is intended solely
> for the addressee(s).
> Access to this email by anyone else is unauthorised. If you are not
> an intended recipient, you must not read, use or disseminate the
> information contained in the email.
> Any views expressed in this message are those of the individual sender,
> except where the sender specifically states them to be the views of
> The Capital Markets Company.
>
> http://www.capco.com
> ***********************************************************************
>
>