From: "Milo Hyson" <[EMAIL PROTECTED]> Sent: Monday, August 19, 2002 2:36 PM
> Is there any way to break up a large web.xml file into smaller ones to make it > more manageable? I've found that it doesn't take that big of a project before > I have so many servlets and mappings as to make the deployment descriptor > file quite long. I've read through the Servlet spec (2.3) and poked around in > the mailing list archives, but can't find anything like an include directive > or anything else that might let me divide my descriptor into mutiple smaller > files. Ideally, I'd like to be able to create a different file for each > section of the application, so that I can focus on one at a time. > > I'd appreciate any insights into this situation. Thanks in advance. The Servlet spec isn't much help in this case. The most practical approach is to break it up using some regular method, and then just create the actual web.xml as part of the build/deploy process in your build script. (For example, just before you pack everything up in a WAR, or whatever). I don't have any code to share with you at the moment, and I don't think it's quite straightforward with ANT, but that's still the path I'd take. Regards, Will Hartung ([EMAIL PROTECTED]) -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
