fixed stupid null baseURI bug

This commit is contained in:
hns 2001-07-30 01:42:05 +00:00
parent 0beed82331
commit 07fa89f251

View file

@ -495,7 +495,8 @@ public class Application extends UnicastRemoteObject implements IRemoteApp, IRep
String base = props.getProperty ("baseURI"); String base = props.getProperty ("baseURI");
String siteroot = props.getProperty ("rootPrototype"); String siteroot = props.getProperty ("rootPrototype");
if (base != null) setBaseURI (base); if (base != null || baseURI == null)
setBaseURI (base);
String href = n.getUrl (root, users, tmpname, siteroot); String href = n.getUrl (root, users, tmpname, siteroot);
return baseURI + href; return baseURI + href;