%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
Join a Selected 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 #2: Join a Selected Course
<%
} else if (request.getParameter("action").equals("create")) {
//
// Got an action=create
//
String username = request.getParameter("username");
String meetingID = request.getParameter("meetingID");
String joinURL = getJoinURL(username, meetingID, "Welcome %%CONFNAME%%." );
if (joinURL.startsWith("http://")) {
%>
<%
} else {
%>
Error: getJoinURL() failed
<%=joinURL%> <%
}
}
%> <%@ include file="demo_footer.jsp"%>