Hi,

I needed to have my data-sources in a different file from the rest of the
connection pool. Since the rest of the file was static but the connection
information was varying between different users. I ended up modifying the
actionservlet to load this from a separate file. which can be inside the war
file or even specified as an initialization parameter. 

pratima

-----Original Message-----
From: Mikkel Bruun
To: 'Doug Way '; '[EMAIL PROTECTED] '
Sent: 5/19/01 12:32 AM
Subject: RE: Splitting up struts-config.xml

 WE ran in to similar problem a couple of months ago (just not with
struts,
another mvc framework)...

We simply recodede our xml properties loading method to grab it from a
central http url...
So now all delopers would have to work on ONE xml, which was placed
centrally, and managed by Visual Source Safe...

Thats how we avoided having to merge several config files...

Mikkel

-----Original Message-----
From: Doug Way
To: [EMAIL PROTECTED]
Sent: 19-05-2001 01:11
Subject: Splitting up struts-config.xml


I'm working as part of a team on a large-ish web application using
struts.

There are several of us currently working on the struts/jsp side of
things, and there's now quite a bit of stuff (action mappings, etc.) in
the struts-config.xml file, so each of us has to change this file fairly
often, and we're often in conflict with each other.  (I guess part of
the problem is that we're using a source code management tool
(SourceOffSite) with a pessimistic check-in/check-out system, without
automated merging.)

Anyway, is there some way to split up the contents of struts-config.xml,
so that it's not one huge file?  (Maybe with includes, or something
similar?)

- Doug Way
  [EMAIL PROTECTED]

Reply via email to