From: Hilmar L. <hl...@ne...> - 2010-04-01 21:13:39
|
On Apr 1, 2010, at 4:54 PM, Vladimir Gapeyev wrote: > Alternatively, if the developer does not care about proper > functioning of PURLs, he can use tb2/BasePurl=http://localhost:8080/treebase-web/phylows/ Exactly - whether PURLs function or not is mostly under the control of the folks who operate purl.org, otherwise it's just a redirect, so you might as well use your local server right away. > Finally, I have changed several JSP pages that had "http://purl.org/phylo/treebase/phylows > ...." urls hardwired so that they instead look up the tb2/PurlBase > parameter. However, I used <%= ... %>, so someone more > knowledgeable might want to adjust that syntax. The value of these parameters is application-wide, right? So, wouldn't the easiest way be to have a class that sets these as application context parameters from JNDI and gets executed when the application is loaded? Or is this the way you implemented it? -hilmar -- =========================================================== : Hilmar Lapp -:- Durham, NC -:- informatics.nescent.org : =========================================================== |