u can put the files anywhere below web-inf , but u will have to mention them 
in web.xml's init parameter.

Regards,
Sachin Hegde


---------- Original Message -----------
From: "Krishna Srinivasan, ISDC Chennai" <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Sent: Tue, 19 Oct 2004 11:13:38 +0530
Subject: RE: Multiple Struts Config!!

> I will explain my doubt.
> 
> i hav 5 modules in my project. so i want to use 5 different config files.
> shall i hav all the files in web-inf package or i hav to keep it 
> inside the modules.
> 
> Regards,
> Krishna Srinivasan.
> HCL Technologies Ltd.
> Insurance Solutions Development Center (ISDC).
> 
> ----------------------------------------------------------------------------
> ----------------------------------------------------------------------------
> ----------------------------------------------------------------------------
> ----------------------
> 
> Disclaimer:
> 
> This message and any attachment(s) contained here are information 
> that is confidential, proprietary to HCL Technologies and its 
> customers. Contents may be privileged or otherwise protected by law. 
> The information is solely intended for the individual or the entity 
> it is addressed to. If you are not the intended recipient of this 
> message, you are not authorized to read, forward, print, retain, 
> copy or disseminate this message or any part of it. If you have 
> received this e-mail in error, please notify the sender immediately 
> by return e-mail and delete it from your computer.
> ----------------------------------------------------------------------------
> ----------------------------------------------------------------------------
> ----------------------------------------------------------------------------
> ----------------------
> 
> -----Original Message-----
> From: anurag shinde [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 19, 2004 10:47 AM
> To: Struts Users Mailing List
> Subject: Re: Multiple Struts Config!!
> 
> Multi configuration actually encompasses two different styles of usage:
> 
> Peer configurations - where one large application struts-config.xml 
> file has been arbitrarily split up into two or more peer 
> configuration files. The struts-example application is an example of 
> this.
> 
>     <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,
> /WEB-INF/struts-config-registration.xml
>   </param-value>   
>    </init-param>      ...    </servlet>
> 
> Sub-applications - where a more logical division of an application exists
> and where there is a master application configuration file and then 
> one or more sub-application configuration files which are children 
> of the main application and accessed at runtime using a path like 
> syntax based on the sub-application name..
> 
>     <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>
>      <init-param>  
>       <param-name>config/child1</param-name>  
>       <param-value>/WEB-INF/child1-config.xml</param-value>  
>    </init-param>
>      <init-param>
>    <param-name>config/child2</param-name>     
>    <param-value>/WEB-INF/child2-config.xml</param-value>   
>   </init-param>      
> ...    </servlet>
> 
> Thanks and Regards
> Anuraag Shinde.
> Programmer Analyst
> Syntelinc Pune.
> 
> ----- Original Message -----
> From: Biggie Bendra <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: Multiple Struts Config!!
> Date: Mon, 18 Oct 2004 21:56:11 -0700 (PDT)
> 
> > 
> > Just use comma seperated file names; e.g.
> > 
> > <servlet>
> >   <servlet-name>go</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,/WEB-INF/struts-
> config2.xml</param-v alue>
> >   </init-param>
> > 
> > ...etc
> > 
> > bye-Ben
> > 
> > 
> > --- "Krishna Srinivasan, ISDC Chennai"
> > <[EMAIL PROTECTED]> wrote:
> > 
> > > 
> > > HI,
> > >  In my project i want to use multiple
> > > struts-config.xml file.
> > >  how to use? i know struts 1.1 supports multiple
> > > struts config files.
> > > 
> > >  can anyone help me in this problem?
> > > 
> > > 
> > > 
> > > Regards,
> > > Krishna Srinivasan.
> > > HCL Technologies Ltd.
> > > Insurance Solutions Development Center (ISDC).
> > > 
> > >
> >
> ----------------------------------------------------------------------------
> > >
> >
> ----------------------------------------------------------------------------
> > >
> >
> ----------------------------------------------------------------------------
> > > ----------------------
> > > 
> > > Disclaimer:
> > > 
> > > This message and any attachment(s) contained here
> > > are information that is
> > > confidential, proprietary to HCL Technologies and
> > > its customers. Contents
> > > may be privileged or otherwise protected by law. The
> > > information is solely
> > > intended for the individual or the entity it is
> > > addressed to. If you are not
> > > the intended recipient of this message, you are not
> > > authorized to read,
> > > forward, print, retain, copy or disseminate this
> > > message or any part of it.
> > > If you have received this e-mail in error, please
> > > notify the sender
> > > immediately by return e-mail and delete it from your
> > > computer.
> > >
> >
> ----------------------------------------------------------------------------
> > >
> >
> ----------------------------------------------------------------------------
> > >
> >
> ----------------------------------------------------------------------------
> > > ----------------------
> > > 
> > > 
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam protection around 
> > http://mail.yahoo.com 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> >
> 
> -- 
> _______________________________________________
> Get your free email from http://fastermail.com
> 
> Powered by Outblaze
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
------- End of Original Message -------


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

Reply via email to