[Carbon-commits] [Carbon] svn commit r115176 - trunk/carbon/components/tryit/org.wso2.carbon.tryit.ui/src/main/resources/web/tryit

lalaji at wso2.com lalaji at wso2.com
Mon Oct 31 07:48:43 EDT 2011


Author: lalaji
Date: Mon Oct 31 04:48:43 2011
New Revision: 115176
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=115176

Log:
Apply fix for STRATOS-1888

Modified:
   trunk/carbon/components/tryit/org.wso2.carbon.tryit.ui/src/main/resources/web/tryit/index.jsp

Modified: trunk/carbon/components/tryit/org.wso2.carbon.tryit.ui/src/main/resources/web/tryit/index.jsp
URL: http://wso2.org/svn/browse/wso2/trunk/carbon/components/tryit/org.wso2.carbon.tryit.ui/src/main/resources/web/tryit/index.jsp?rev=115176&r1=115175&r2=115176&view=diff
==============================================================================
--- trunk/carbon/components/tryit/org.wso2.carbon.tryit.ui/src/main/resources/web/tryit/index.jsp	(original)
+++ trunk/carbon/components/tryit/org.wso2.carbon.tryit.ui/src/main/resources/web/tryit/index.jsp	Mon Oct 31 04:48:43 2011
@@ -20,7 +20,7 @@
 <%@ taglib uri="http://wso2.org/projects/carbon/taglibs/carbontags.jar" prefix="carbon" %>
 <script type="text/javascript" src="global-params.js"></script>
 <%
-    String backendServerURL = CarbonUIUtil.getServerURL(config.getServletContext(), session);
+    String backendServerURL = CarbonUIUtil.getAdminConsoleURL(request).split("/carbon/")[0]+"/services/";
 %>
 <fmt:bundle basename="org.wso2.carbon.tryit.ui.i18n.Resources">
 <script>


More information about the Carbon-commits mailing list