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]
Re: Multiple config files under single application
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 under single application
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
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]