Adding Xml Tag in "Struts-Config.xml" file

2001-10-04 Thread bruno . morin

I need to configure my application by Xml.

Is it possible to add personnal XmlTags in the "Struts-Config.xml file
and manipulate them in a "Action" class with the Digester ?

Thxs.

Bruno




Re: Adding Xml Tag in "Struts-Config.xml" file

2001-10-04 Thread Gregor Rayman

<[EMAIL PROTECTED]> wrote:

> I need to configure my application by Xml.
>
> Is it possible to add personnal XmlTags in the "Struts-Config.xml file
> and manipulate them in a "Action" class with the Digester ?
>
> Thxs.
>
> Bruno


Why in strus-config.xml, why don't you create your own application-config.xml?

--
gR




RE: Adding Xml Tag in "Struts-Config.xml" file

2001-10-04 Thread bruno . morin

I have an application-config.xml. 
But how my application could know the name of the file without using a
constants file ?


-Message d'origine-
De: Gregor Rayman [mailto:[EMAIL PROTECTED]]
Date: jeudi 4 octobre 2001 15:41
À: [EMAIL PROTECTED]
Objet: Re: Adding Xml Tag in "Struts-Config.xml" file


<[EMAIL PROTECTED]> wrote:

> I need to configure my application by Xml.
>
> Is it possible to add personnal XmlTags in the "Struts-Config.xml file
> and manipulate them in a "Action" class with the Digester ?
>
> Thxs.
>
> Bruno


Why in strus-config.xml, why don't you create your own
application-config.xml?

--
gR





Re: Adding Xml Tag in "Struts-Config.xml" file

2001-10-04 Thread Gregor Rayman

Is it a problem, if you hard code it into a final static memmber of
a class?

--
gR


- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 04, 2001 3:55 PM
Subject: RE: Adding Xml Tag in "Struts-Config.xml" file


I have an application-config.xml.
But how my application could know the name of the file without using a
constants file ?


-Message d'origine-
De: Gregor Rayman [mailto:[EMAIL PROTECTED]]
Date: jeudi 4 octobre 2001 15:41
À: [EMAIL PROTECTED]
Objet: Re: Adding Xml Tag in "Struts-Config.xml" file


<[EMAIL PROTECTED]> wrote:

> I need to configure my application by Xml.
>
> Is it possible to add personnal XmlTags in the "Struts-Config.xml file
> and manipulate them in a "Action" class with the Digester ?
>
> Thxs.
>
> Bruno


Why in strus-config.xml, why don't you create your own
application-config.xml?

--
gR






RE: Adding Xml Tag in "Struts-Config.xml" file

2001-10-04 Thread bruno . morin

It's not a problem for the file name but for the directory name of the file
configuration.
If the directory change, i don't want to recompile my app.

-Message d'origine-
De: Gregor Rayman [mailto:[EMAIL PROTECTED]]
Date: jeudi 4 octobre 2001 15:57
À: [EMAIL PROTECTED]
Objet: Re: Adding Xml Tag in "Struts-Config.xml" file


Is it a problem, if you hard code it into a final static memmber of
a class?

--
gR


- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 04, 2001 3:55 PM
Subject: RE: Adding Xml Tag in "Struts-Config.xml" file


I have an application-config.xml.
But how my application could know the name of the file without using a
constants file ?


-Message d'origine-
De: Gregor Rayman [mailto:[EMAIL PROTECTED]]
Date: jeudi 4 octobre 2001 15:41
À: [EMAIL PROTECTED]
Objet: Re: Adding Xml Tag in "Struts-Config.xml" file


<[EMAIL PROTECTED]> wrote:

> I need to configure my application by Xml.
>
> Is it possible to add personnal XmlTags in the "Struts-Config.xml file
> and manipulate them in a "Action" class with the Digester ?
>
> Thxs.
>
> Bruno


Why in strus-config.xml, why don't you create your own
application-config.xml?

--
gR







Re: Adding Xml Tag in "Struts-Config.xml" file

2001-10-04 Thread Gregor Rayman

So simply put it into hard-coded WEB-INF. This is how ActionServlet
looks for struts-config.xml

--
gR


- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 04, 2001 6:00 PM
Subject: RE: Adding Xml Tag in "Struts-Config.xml" file


It's not a problem for the file name but for the directory name of the file
configuration.
If the directory change, i don't want to recompile my app.

-Message d'origine-
De: Gregor Rayman [mailto:[EMAIL PROTECTED]]
Date: jeudi 4 octobre 2001 15:57
À: [EMAIL PROTECTED]
Objet: Re: Adding Xml Tag in "Struts-Config.xml" file


Is it a problem, if you hard code it into a final static memmber of
a class?

--
gR


- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 04, 2001 3:55 PM
Subject: RE: Adding Xml Tag in "Struts-Config.xml" file


I have an application-config.xml.
But how my application could know the name of the file without using a
constants file ?


-Message d'origine-
De: Gregor Rayman [mailto:[EMAIL PROTECTED]]
Date: jeudi 4 octobre 2001 15:41
À: [EMAIL PROTECTED]
Objet: Re: Adding Xml Tag in "Struts-Config.xml" file


<[EMAIL PROTECTED]> wrote:

> I need to configure my application by Xml.
>
> Is it possible to add personnal XmlTags in the "Struts-Config.xml file
> and manipulate them in a "Action" class with the Digester ?
>
> Thxs.
>
> Bruno


Why in strus-config.xml, why don't you create your own
application-config.xml?

--
gR








Re: Adding Xml Tag in "Struts-Config.xml" file

2001-10-04 Thread Christophe Marchand

An  entry in your web.xml should be the solution.

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 04, 2001 2:55 PM
Subject: RE: Adding Xml Tag in "Struts-Config.xml" file


I have an application-config.xml.
But how my application could know the name of the file without using a
constants file ?


-Message d'origine-
De: Gregor Rayman [mailto:[EMAIL PROTECTED]]
Date: jeudi 4 octobre 2001 15:41
À: [EMAIL PROTECTED]
Objet: Re: Adding Xml Tag in "Struts-Config.xml" file


<[EMAIL PROTECTED]> wrote:

> I need to configure my application by Xml.
>
> Is it possible to add personnal XmlTags in the "Struts-Config.xml file
> and manipulate them in a "Action" class with the Digester ?
>
> Thxs.
>
> Bruno


Why in strus-config.xml, why don't you create your own
application-config.xml?

--
gR