From: <rv...@us...> - 2010-06-22 15:16:21
|
Revision: 724 http://treebase.svn.sourceforge.net/treebase/?rev=724&view=rev Author: rvos Date: 2010-06-22 15:16:15 +0000 (Tue, 22 Jun 2010) Log Message: ----------- The baseURL session attribute is now set to the PURL domain (which is obtained from the JNDI configuration) instead of trying (and failing) to compute it from the local domain address. Modified Paths: -------------- trunk/treebase-web/src/main/java/org/cipres/treebase/web/controllers/SearchController.java Modified: trunk/treebase-web/src/main/java/org/cipres/treebase/web/controllers/SearchController.java =================================================================== --- trunk/treebase-web/src/main/java/org/cipres/treebase/web/controllers/SearchController.java 2010-06-22 15:02:32 UTC (rev 723) +++ trunk/treebase-web/src/main/java/org/cipres/treebase/web/controllers/SearchController.java 2010-06-22 15:16:15 UTC (rev 724) @@ -156,7 +156,7 @@ baseURL.append("/treebase-web/phylows"); request.getSession().setAttribute("recordSchema", schema); request.getSession().setAttribute("format", request.getParameter("format")); - request.getSession().setAttribute("baseURL", baseURL.toString()); + request.getSession().setAttribute("baseURL", TreebaseUtil.getPurlBase()); request.getSession().setAttribute("domainAddress", domainAddress.toString()); request.getSession().setAttribute("phyloWSPath", phyloWSPath); request.getSession().setAttribute("originalSection", original); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |