Project

General

Profile

« Previous | Next » 

Revision 4123

Added by daigle almost 16 years ago

Append context url onto system id instead of server url.

View differences:

SchemaLocationResolver.java
160 160
				// system id may not have server url on front. Add it if not.
161 161
				if (!location.startsWith("http://")) {
162 162
					try {
163
						location = SystemUtil.getServerURL() + location;
163
						location = SystemUtil.getContextURL() + location;
164 164
					} catch (PropertyNotFoundException pnfe) {
165 165
						throw new SQLException("Could not find property: "
166 166
								+ pnfe.getMessage());

Also available in: Unified diff