The advantage (from what I have read and seen) is geared more towards
team development. Having multiple struts configuration files allows you
to modularize the areas of your app, so that people aren't stepping on
each others toes with new changes. Another advantage of multiple config
files is to
If you use multiple struts-config files in a single module, the net
result is a module which is configured from the union of all the
files; Struts has no knowledge of which components were defined in
which files, so those questions are not relevant.
Note that if you use MODULES, by adding more
This is the answer to your third question:
Yes, you can forward an action in one struts-config from within another
struts-config...
All the mapping(from all config file) will be in put in a single
ActionMapping class at the start of the web server
Regards
VasudevRaoGupta
-Original
Hi
I've read some mails about multiple struts-config files, but still
have some questions:
-what's the advantage of using multiple struts-config files in one
application ? Is it better for performance ?
Rather than performace issue, it's more of teams-developing-on-diff-modules
and
In Struts 1.1, you have two options: you can list
multiple struts-config files as a comma-delimited
list, or you can subdivide a larger application into
modules.
Do so in the web.xml file. Add the init-param tag to
the servlet tag.
init-param
param-nameconfig/param-name
They should each be standalone/valid configs.
-Original Message-
From: Jerry Jalenak [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 2:29 PM
To: '[EMAIL PROTECTED]'
Subject: Multiple Struts-Config files
When using multiple struts-config files in web.xml, should each file be
]
Sent: Thursday, July 24, 2003 1:30 PM
To: Struts Users Mailing List
Subject: RE: Multiple Struts-Config files
They should each be standalone/valid configs.
-Original Message-
From: Jerry Jalenak [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 2:29 PM
To: '[EMAIL PROTECTED
PROTECTED]
-Original Message-
From: Mike Jasnowski [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 1:30 PM
To: Struts Users Mailing List
Subject: RE: Multiple Struts-Config files
They should each be standalone/valid configs.
-Original Message-
From: Jerry
Raj, not sure if this is what you are after, but for a single module you
can do a comma-delimited list of config files. See your web.xml below:
On 06/12/2003 04:08:45 PM Raj Atchutuni wrote:
The following is the error message i get when i am trying to configure
multiple
struts-config files.
config init param.
Let us know if that works.
-Original Message-
From: Raj Atchutuni [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 8:52 PM
To: Struts Users Mailing List
Subject: RE: Multiple struts-config files - help
Bailey, Thanks for your reply.
I am testing this concept
If you want to use a xml struts config file for each of the modules, you can
solve your problem by retrieving a common form beans
xml file, on each xml file. (you can apply the same thing for other elements).
struts-public-config.xml
?xml version=1.0 ...?
!DOCTYPE struts-config ... [
!ENTITY
The following is the error message i get when i am trying to configure multiple
struts-config files. It could retrieve mapping for the action path in the second
config file(i.e struts-config-private.xml) Here are the entries in my web.xml and 1,2
struts-config files.
Can any one help me please.
there is typo in question. Please read as
It could retrieve mapping for the action path in the second config file(i.e
struts-config-private.xml)
-
Do you Yahoo!?
Free online calendar with sync to Outlook(TM).
sorry,
It could NOT retrieve mapping for the action path in the second config file(i.e
struts-config-private.xml)
-
Do you Yahoo!?
Free online calendar with sync to Outlook(TM).
The following is the error message i get when i am trying to configure
multiple struts-config files. It could NOT retrieve mapping for the action
path in the second config file(i.e struts-config-private.xml) Here are
the entries in my web.xml and 1,2 struts-config files.
in jsp file i have
-
From: Raj Atchutuni [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 7:36 PM
To: [EMAIL PROTECTED]
Subject: Re: Multiple struts-config files - help
The following is the error message i get when i am trying to configure
multiple struts-config files. It could NOT retrieve mapping
are in).
Hope that helps.
-Original Message-
From: Raj Atchutuni [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 7:36 PM
To: [EMAIL PROTECTED]
Subject: Re: Multiple struts-config files - help
The following is the error message i get when i am trying to configure
multiple struts
Tuesday, February 04, 2003 8:12 PM , Ted Husted [EMAIL PROTECTED] a
écrit :
Is it dumb ? Or may it be an advance of the feature promised in
1.2 that will allow inheritence of configs ?
Just to be precise, no one is able to make any promises about any
features for any possible future
Monday, February 03, 2003 8:19 PM , Craig R. McClanahan
[EMAIL PROTECTED] a écrit :
On Mon, 3 Feb 2003, Susan Bradeen wrote:
Date: Mon, 3 Feb 2003 13:24:10 -0500
From: Susan Bradeen [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject:
On Tue, 4 Feb 2003, Malik Recoing wrote:
And may we use a list of struts-config in combination with a multi-modules
config ?
Like that :
servlet
servlet-nameaction/servlet-name
servlet-classorg.apache.struts.action.ActionServlet/servlet-class
init-param
Is it dumb ? Or may it be an advance of the feature promised in 1.2
that will allow inheritence of configs ?
Just to be precise, no one is able to make any promises about any
features for any possible future release. At this point, 1.2 may just be
the patches for minor enhancements that came in
You can infer from this that it does consider them to be one file:
http://jakarta.apache.org/struts/userGuide/configuration.html#dd_config_servlet
David
From: Susan Bradeen [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Multiple
On Mon, 3 Feb 2003, Susan Bradeen wrote:
Date: Mon, 3 Feb 2003 13:24:10 -0500
From: Susan Bradeen [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Multiple struts-config files without Modules
Without using Modules, and given the
the files into one big one.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 5:27 PM
To: Struts Users Mailing List
Subject: Re: multiple struts-config files
I believe this is the link
http://www.jamesholmes.com
I believe this is the link
http://www.jamesholmes.com/struts/
Corneliu Rachieru [EMAIL PROTECTED] on 04/17/2002 02:14:20 PM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
cc:
Subject: multiple struts-config files
I didn't see any docs on this. Looks interesting. Does it essentially
concatenate the files into one big one.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 5:27 PM
To: Struts Users Mailing List
Subject: Re: multiple struts
into one big one.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 5:27 PM
To: Struts Users Mailing List
Subject: Re: multiple struts-config files
I believe this is the link
http://www.jamesholmes.com/struts
Thanks
D
-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 02, 2001 12:11 PM
To: [EMAIL PROTECTED]
Subject: Re: Multiple Struts-config files
People are working on that, but it hasn't made it into a build let.
For more see,
http://www.mail
28 matches
Mail list logo