A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Possible to include other XML files within my web.xml file?
Joined: Jul 02, 2008
Dec 04, 2009 08:21:29
5.1 AS on Mac 10.5.6. In an attempt to make my web.xml file cleaner, I would like to separate the <env-entry>s into their own file. However, I'm unable to find how to include another XML file in my original web.xml file. Any ideas?
The web-app spec I'm using is
<?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
Thanks, - Dave
Author and ninkuma
Joined: Jan 10, 2002
Dec 04, 2009 08:50:20
No can do, unless you do something to merge them yourself in an
script or something.
Asking smart questions
Books by Bear
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Possible to include other XML files within my web.xml file?
EJB3 - NullPointerException with @EJB Injection
getting error when deploying web app in weblogic 10.0
error for first web application : The requested resource (/Beer-v1/SelectBeer.do) is not available.
@EJB doing nothing - jboss-4.2.2.GA
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014