%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
Join a Course
<%@ include file="bbb_api.jsp"%>
<%
if (request.getParameterMap().isEmpty()) {
//
// Assume we want to create a meeting
//
%>
Join a Course | Join a Selected Course | Create Your Own Meeting | Home
Demo #1: Join a Course
<%
} else if (request.getParameter("action").equals("create")) {
//
// Got an action=create
//
//
// Request a URL to join a meeting called "Demo Meeting"
// Pass null for welcome message to use the default message (see defaultWelcomeMessage in bigbluebutton.properties)
//
String joinURL = getJoinURL(request.getParameter("username"), "Demo Meeting", null );
if (joinURL.startsWith("http://")) {
%>
<%
} else {
%>
Error: getJoinURL() failed
<%=joinURL %>
<%
}
}
%>
<%@ include file="demo_footer.jsp"%>