Index: lams_bb_integration/web/admin/config.jsp =================================================================== diff -u -ra225f60e82f4197c7a2bf6dbb7200709d1e852d7 -r8ea6dac2e1f9e39a41030dd5907592bc2aa04d17 --- lams_bb_integration/web/admin/config.jsp (.../config.jsp) (revision a225f60e82f4197c7a2bf6dbb7200709d1e852d7) +++ lams_bb_integration/web/admin/config.jsp (.../config.jsp) (revision 8ea6dac2e1f9e39a41030dd5907592bc2aa04d17) @@ -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%