Here's what a <struts-config> element can contain: <!ELEMENT struts-config (data-sources?, form-beans?, global-exceptions?, global-forwards?, action-mappings?, controller?, message-resources*, plug-in*)>
? -> 0 or 1 * -> 0 or more So, yes, you can have a config with just <controller>, <message-resources>, and <plug-in> elements. Quoting Jerry Jalenak <[EMAIL PROTECTED]>: > That's what I suspected, but wanted to get some independant confirmation > :-) > > Should the last config file contain the <controller/>, > <message-resources/>, > and <plug-in/> stuff? The doc seems to imply that if you re-define a > parameter, the last one 'quietly wins'. To me this means that I should > only > have these tags in the last config file. Is it possible to have a config > file with ONLY these tags? > > Jerry Jalenak > Team Lead, Web Publishing > LabOne, Inc. > 10101 Renner Blvd. > Lenexa, KS 66219 > (913) 577-1496 > > [EMAIL 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 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 > complete? i.e. should each begin and end with appropriate <struts-config> > / > </struts-config> tags? Or should the first one in the list contain the > <struts-config>, and the last one contain the </struts-config> tag? > > Jerry Jalenak > Team Lead, Web Publishing > LabOne, Inc. > 10101 Renner Blvd. > Lenexa, KS 66219 > (913) 577-1496 > > [EMAIL PROTECTED] -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

