Index: lams_bb_integration/web/admin/config.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_bb_integration/web/admin/config.jsp,v diff -u -r1.1 -r1.2 --- lams_bb_integration/web/admin/config.jsp 6 Aug 2007 07:09:36 -0000 1.1 +++ lams_bb_integration/web/admin/config.jsp 22 Aug 2007 06:17:32 -0000 1.2 @@ -23,6 +23,10 @@ String lamsServerId = p.getProperty("LAMS_SERVER_ID", ""); String SecretKey = p.getProperty("LAMS_SERVER_SKEY", ""); String ReqSrc = p.getProperty("BB_REQ_SRC"); + + // add port to the url if the port is in the blackboard url. + int bbport = request.getServerPort(); + String bbportstr = bbport != 0 ? ":" + bbport : ""; %> @@ -48,7 +52,7 @@ Copy and paste the user data callback URL into LAMS
- USER DATA CALLBACK URL: http://<%=request.getServerName()%><%=request.getContextPath()%>/UserData?uid=%username%&ts=%timestamp%&hash=%hash% + USER DATA CALLBACK URL: http://<%=request.getServerName()%><%=bbportstr%><%=request.getContextPath()%>/UserData?uid=%username%&ts=%timestamp%&hash=%hash%