not speaking for the group but this is how I break out whether to use 
.properties or a XML file 

 

*.properties for user and or environment specific configurations

XML for data couched in XML schema objects 

 

i have an AXIOM object processor which reads XML Input streams and processes 
them
the functionality is dependent on the attribute of the assigned namespace  e.g.

<tns:MYIdentity 
xmlns:tns="http://somegovernmentWebSite/SomeGovernmentWebSiteApp/someSchema.xsd>1</tns:MYIdentity>

 

but this could change if the namespace attribute changes for the element as 
seen here

<tns:MyIdentity 
xmlns:tns="http://www.fubar.com/fubar/fubar.xsd";>1</tns:MyIdentity>


the processing for http://somegovernmentWebSite is different than 
http://www.fubar.com!


I hope this sheds some light for you..others have different reasons to select 
either .properties or XML
Martin Gainty 
______________________________________________ 
Jogi és Bizalmassági kinyilatkoztatás/Verzicht und 
Vertraulichkeitanmerkung/Note de déni et de confidentialité


 
Ez az üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy 
jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának készítése 
nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és semmiféle jogi 
alkalmazhatósága sincs.  Mivel az electronikus üzenetek könnyen 
megváltoztathatóak, ezért minket semmi felelöség nem terhelhet ezen üzenet 
tartalma miatt.

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.



 

> Date: Fri, 26 Mar 2010 13:05:29 +0530
> Subject: Re: struts.xml vs struts.properties which takes a precedence?
> From: aum.str...@gmail.com
> To: user@struts.apache.org
> 
> struts.properties
> http://struts.apache.org/2.0.11/docs/strutsproperties.html
> 
> On Fri, Mar 26, 2010 at 8:03 AM, Bhaarat Sharma <bhaara...@gmail.com> wrote:
> 
> > Hi,
> >
> >
> > If the same property is set in struts.xml and struts.properties which one
> > takes precedence? also, is there any documentation where this is explained
> > /verified?
> >
                                          
_________________________________________________________________
Hotmail is redefining busy with tools for the New Busy. Get more from your 
inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:WL:en-US:WM_HMP:032010_2

Reply via email to