On 30/12/2011 11:33, Lau Eng Huat wrote:
> Hi guys,
> 
> Is it possible to merge multiple xml file into a single xml file in tomcat.

Yes and no.

It is not possible to split web.xml into separate parts and subsequently
merge them.

It is possible (in Servlet 3.0) to create web-fragment.xml files with
distinct application components.  Read the Servlet Spec to understand more.


The server.xml file is parsed separately and can use XML entities, and
can therefore include external files.


> The web.xml file & server.xml is getting large and I want it to be more
> organized. Is this possible ?

Most people just put up with a verbose web.xml file.

Why is server.xml getting so big?  Have you removed all of the XML comments?


p



-- 

[key:62590808]

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to