RE: Multiple config files under single application

2004-01-14 Thread Richard Hightower
You can pass the config init-parameter a comma delimited list of config
files. The config files will be treated as one logical file.

Or, you can pass multiple config/name-of-modules to have struts modules.
Modules are like little mini-struts apps (they used to be called
subapplications). Modules can have their own resource bundles, plug in,
custom config objects, etc. that are private to that module.



Rick Hightower
Developer

Struts/J2EE training -- http://www.arc-mind.com/strutsCourse.htm

Struts/J2EE consulting --
http://www.arc-mind.com/consulting.htm#StrutsMentoring

-Original Message-
From: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 14, 2004 11:28 AM
To: [EMAIL PROTECTED]
Subject: Multiple config files under single application
Importance: High


Hi,
   Is there anyway I can define multiple config files under a single
application ? any suggestions/inputs  would be hightly appreciated.

Thanks in advance.

-Ram


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Multiple config files under single application

2004-01-14 Thread Hubert Rabago
An alternative would be to just provide multiple struts config files without
using modules.  In some cases, that might be preferable.

http://www.mail-archive.com/[EMAIL PROTECTED]/msg90132.html

--- e-denton Java Programmer <[EMAIL PROTECTED]> wrote:
> Yep, they are called application modules. You define multiple struts-configs
> in the web.xml.
> 
> This will get you started:
> http://www.onjava.com/pub/a/onjava/2002/10/30/jakarta.html?page=2
> 
> Will
> 
> - Original Message - 
> From: "Ramadoss Chinnakuzhandai" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, January 14, 2004 12:27 PM
> Subject: Multiple config files under single application
> 
> 
> Hi,
>Is there anyway I can define multiple config files under a single
> application ? any suggestions/inputs  would be hightly appreciated.
> 
> Thanks in advance.
> 
> -Ram
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Multiple config files under single application

2004-01-14 Thread e-denton Java Programmer
Yep, they are called application modules. You define multiple struts-configs
in the web.xml.

This will get you started:
http://www.onjava.com/pub/a/onjava/2002/10/30/jakarta.html?page=2

Will

- Original Message - 
From: "Ramadoss Chinnakuzhandai" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 14, 2004 12:27 PM
Subject: Multiple config files under single application


Hi,
   Is there anyway I can define multiple config files under a single
application ? any suggestions/inputs  would be hightly appreciated.

Thanks in advance.

-Ram


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Multiple Config files

2003-12-09 Thread Adolfo Miguelez
Interesting apart from the Tiles-Plugin issue, is there any issue more 
to take in mind?

AFAIK, this is as configuring subapplications, i.e. files for a 
subapplication are found under a subdirectory, is this true?.. Or they 
just hang from the same documents root for any struts-config.xml file.

TIA,

Adolfo.




From: "Marino A. Jonsson" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: Multiple Config files
Date: Tue, 9 Dec 2003 17:29:16 -
be aware, if you go down this road, that if you specify a tiles-plugin in
both configs - only the plugin in the first config will be initialized.
cheers,
MarinĂ³
"vasudevrao gupta" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Yes ..u can have multiple config files in your application for each
> module ..
> you need to define them in web.xml file where you give the
> initialization paramter for "config" of your action servlet
> seperated by comma.
>  
>   config
>
> /WEB-INF/struts-config1.xml,/WEB-INF/struts-config2.xml
> ram-value>
> 
>
> Cheers
> gupta
>
> -Original Message-
> From: Tiago Henrique Costa Rodrigues Alves
> [mailto:[EMAIL PROTECTED]
> Sent: 09 December 2003 18:18
> To: Struts Users Mailing List (E-mail)
> Subject: Multiple Config files
>
>
> Hi,
>
> I am working in a project with many developers,
> sometimes the developers need to change the struts-config.xml file at
> the
> same time (one developer needs to add a action-form and other developer
> needs to add a form-bean or even make some changes...)
>
> How can I add multiple config file support for struts??
> OFF-TOPIC : Does anyone know a cvs mailing list ?
>
> Thanks,
> Tiago Henrique C. R. Alves
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> Confidentiality Notice
>
> The information contained in this electronic message and any attachments
to this message are intended
> for the exclusive use of the addressee(s) and may contain confidential 
or
privileged information. If
> you are not the intended recipient, please notify the sender at Wipro or
[EMAIL PROTECTED] immediately
> and destroy all copies of this message and any attachments.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Multiple Config files

2003-12-09 Thread Marino A. Jonsson
be aware, if you go down this road, that if you specify a tiles-plugin in
both configs - only the plugin in the first config will be initialized.

cheers,
MarinĂ³

"vasudevrao gupta" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Yes ..u can have multiple config files in your application for each
> module ..
> you need to define them in web.xml file where you give the
> initialization paramter for "config" of your action servlet
> seperated by comma.
>  
>   config
>
> /WEB-INF/struts-config1.xml,/WEB-INF/struts-config2.xml ram-value>
> 
>
> Cheers
> gupta
>
> -Original Message-
> From: Tiago Henrique Costa Rodrigues Alves
> [mailto:[EMAIL PROTECTED]
> Sent: 09 December 2003 18:18
> To: Struts Users Mailing List (E-mail)
> Subject: Multiple Config files
>
>
> Hi,
>
> I am working in a project with many developers,
> sometimes the developers need to change the struts-config.xml file at
> the
> same time (one developer needs to add a action-form and other developer
> needs to add a form-bean or even make some changes...)
>
> How can I add multiple config file support for struts??
> OFF-TOPIC : Does anyone know a cvs mailing list ?
>
> Thanks,
> Tiago Henrique C. R. Alves
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> Confidentiality Notice
>
> The information contained in this electronic message and any attachments
to this message are intended
> for the exclusive use of the addressee(s) and may contain confidential or
privileged information. If
> you are not the intended recipient, please notify the sender at Wipro or
[EMAIL PROTECTED] immediately
> and destroy all copies of this message and any attachments.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Multiple Config files

2003-12-09 Thread Navjot Singh
>How can I add multiple config file support for struts??


  config
  /WEB-INF/struts-default.xml


  config/ab
  /WEB-INF/struts-ab.xml


>OFF-TOPIC : Does anyone know a cvs mailing list ?
www.cvshome.org

HTH
Navjot Singh

>-Original Message-
>From: Tiago Henrique Costa Rodrigues Alves
>[mailto:[EMAIL PROTECTED]
>Sent: Tuesday, December 09, 2003 6:18 PM
>To: Struts Users Mailing List (E-mail)
>Subject: Multiple Config files
>
>
>Hi,
>
>I am working in a project with many developers,
>sometimes the developers need to change the struts-config.xml file at the
>same time (one developer needs to add a action-form and other developer
>needs to add a form-bean or even make some changes...)
>
>
>Thanks,
>Tiago Henrique C. R. Alves
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Multiple Config files

2003-12-09 Thread Jeff Kyser
Sounds like you should investigate modules.

Also, check here for all things cvs-related, including
a mailing list:
	http://www.cvshome.org/

-jeff

On Tuesday, December 9, 2003, at 06:48  AM, Tiago Henrique Costa 
Rodrigues Alves wrote:

Hi,

I am working in a project with many developers,
sometimes the developers need to change the struts-config.xml file at 
the
same time (one developer needs to add a action-form and other developer
needs to add a form-bean or even make some changes...)

How can I add multiple config file support for struts??
OFF-TOPIC : Does anyone know a cvs mailing list ?
Thanks,
Tiago Henrique C. R. Alves
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Multiple Config files

2003-12-09 Thread vasudevrao gupta

Yes ..u can have multiple config files in your application for each
module ..
you need to define them in web.xml file where you give the
initialization paramter for "config" of your action servlet
seperated by comma.
 
  config
 
/WEB-INF/struts-config1.xml,/WEB-INF/struts-config2.xml


Cheers
gupta

-Original Message-
From: Tiago Henrique Costa Rodrigues Alves
[mailto:[EMAIL PROTECTED] 
Sent: 09 December 2003 18:18
To: Struts Users Mailing List (E-mail)
Subject: Multiple Config files


Hi,

I am working in a project with many developers,
sometimes the developers need to change the struts-config.xml file at
the
same time (one developer needs to add a action-form and other developer
needs to add a form-bean or even make some changes...)

How can I add multiple config file support for struts??
OFF-TOPIC : Does anyone know a cvs mailing list ?

Thanks,
Tiago Henrique C. R. Alves


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Confidentiality Notice 

The information contained in this electronic message and any attachments to this 
message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged 
information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Multiple config files

2001-09-13 Thread Toni Charlot

Ralf I invite you to search the archive you'll find a lot of information on
that.  I know you cannot use multiple config files but there are some ways
around that.

good luck

-Original Message-
From: Ralf Beier [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 13, 2001 10:45 AM
To: Struts-User (E-mail)
Subject: Multiple config files


Hi,

i want to use more than one config file for struts. So i could
use the configuration from an external component together with 
my own one. Is this possible ?

greetings
ralf




begin 666 winmail.dat
M>)\^(C4/`0:0" `$```!``$``0>0!@`(Y 0```#H``$(@ <`
M& ```$E032Y-:6-R;W-O9G0@36%I;"Y.;W1E`#$(`0V ! `"`@`"``$&
M@ ,`#@```-$'"0`-``L`( 0`'0$!`Y &`$P&```E"P`"``$+
M`",```,`)@``"P`I```#`"X```,`-@``'@!P``$`
M```6375L=&EP;&4@8V]N9FEG(&9I;&5S`@%Q``$6`<$\
M:5GC25U13%<31!:7/8PCLUR=/P```@$=# $54TU44#I43TY)0$9$
M4$Q54RY#3TT`"P`!#@! ``8.`-C>.FD\P0$"`0H.`0```!@`
MU+\)V>2+-DF<5Q&M3W%X\\* ```#`!0.`0L`'PX!`@$)$ $`
M``!=`@``60(``($#``!,6D9U 5!`0,!
M]_\*@ *D`^0'$P* #_,`4 16/PA5![(1)0Y1`P$"`&-HX0K 8FEVJ1VS)VP#(&8+
M@&0>X'8@%[ %0&\=( N `A!R^0# =&D"("" `Z >L"$@Q"X@'3%K;F\'X!W2
M+F,`<")0!4!U%! @;7QU;"$P"U =L 6@(-!ISF
MX1VP0BX!`%TG) 9@`C K<%32: AP(#=P!: T( LQ)T(C0AZR_R04"' A) -2'N #H [!!)'S
M*>$%H&UP./$WLRI@)2)/)@`=D!Z0)R1M>2" =[LXTR'P200@'K $`" ^4.T$
M$&D"8!VP/R`$(0`0```$<\0T9"
M145&,S8U,3-%-4$T.$)#-S,Y-S1"13(W13@X1#$P-C&,P
M,2TR:RXQ,#!W;W)L9"YG;&]B86P^```#``E9`0L``( (( 8``, `
M``!&``.%`P`.@ @@!@``P ```$8`$(4`
M```#`!: "" &``# 1@`!A0,`+( (( 8`
M`, ```!&`%*%```_<0$`'@`M@ @@!@``P ```$8`
M5(4```$$.2XP``L`+H (( 8``, ```!&``:%
M"P`R@ @@!@``P ```$8`#H4#`#. "" &
M``# 1@`1A0,`-8 (( 8``, ```!&
M`!B%`@'X#P$0U+\)V>2+-DF<5Q&M3W%X\P(!^@\!
M$ ```-2_"=GDBS9)G%<1K4]Q>/,"`?L/`0```$L`.*&[$ 7E
M$!JANP@`*RI6P@``;7-P