From: Vladimir G. <vla...@du...> - 2010-04-01 20:54:53
|
On Apr 1, 2010, at 10:05 AM, William Piel wrote: >> On Apr 1, 2010, at 9:11 AM, William Piel wrote: >> >>> Rather than a PURL, how about just hard-coding "www.treebase.org"? >>> (do we have a parameter init file where this can be stored?) As of rev 664, I introduced a JNDI parameter tb2/SiteUrl for this purpose. See src/main/webapp/META-INF/context.xml.example for usage. These is also a convenience method, org.cipres.treebase.TreebaseUtil.getSiteUrl() to look it up. --Vladimir |