From 689624afdd0aff4a304be443f01be434b03f75a9 Mon Sep 17 00:00:00 2001 From: Fred Dixon Date: Wed, 30 Dec 2009 22:53:57 +0000 Subject: [PATCH] Got demo3.jsp working with spaces in usernames git-svn-id: http://bigbluebutton.googlecode.com/svn/trunk@3165 af16638f-c34d-0410-8cfa-b39d5352b314 --- bigbluebutton-web/web-app/demo/bbb_api.jsp | 2 +- bigbluebutton-web/web-app/demo/demo1.jsp | 7 +++--- bigbluebutton-web/web-app/demo/demo2.jsp | 10 ++++---- bigbluebutton-web/web-app/demo/demo3.jsp | 29 +++++++++++----------- 4 files changed, 24 insertions(+), 24 deletions(-) diff --git a/bigbluebutton-web/web-app/demo/bbb_api.jsp b/bigbluebutton-web/web-app/demo/bbb_api.jsp index 9696cd28ec..c5d43cb754 100755 --- a/bigbluebutton-web/web-app/demo/bbb_api.jsp +++ b/bigbluebutton-web/web-app/demo/bbb_api.jsp @@ -22,7 +22,7 @@ Author: Fred Dixon <%@ page import="java.util.*,java.io.*,java.net.*,javax.crypto.*,javax.xml.parsers.*,org.w3c.dom.Document,org.xml.sax.*" - errorPage="/error.jsp" %> + errorPage="error.jsp" %> <%@ page import="org.apache.commons.codec.digest.*"%> diff --git a/bigbluebutton-web/web-app/demo/demo1.jsp b/bigbluebutton-web/web-app/demo/demo1.jsp index 0e60f787de..0579c2bf10 100755 --- a/bigbluebutton-web/web-app/demo/demo1.jsp +++ b/bigbluebutton-web/web-app/demo/demo1.jsp @@ -26,7 +26,7 @@ Author: Fred Dixon -Insert title here +BigBlueButton API Demos @@ -43,7 +43,7 @@ if (request.getParameterMap().isEmpty()) { %>
-

Demo #1: Join the Demo Meeting

+

Demo #1: Join the Demo Meeting.


@@ -82,9 +82,8 @@ Join: Demo Meeting // Got an action=create // - String username = request.getParameter("username"); + String username = URLEncoder.encode(request.getParameter("username"),"UTF-8"); String meetingID = URLEncoder.encode("Demo Meeting","UTF-8"); - out.println( "

Joining Demo Meeting ..." ); String joinURL = getJoinURL(username, meetingID); %> diff --git a/bigbluebutton-web/web-app/demo/demo2.jsp b/bigbluebutton-web/web-app/demo/demo2.jsp index 4a00cf5343..7cf2be9e42 100755 --- a/bigbluebutton-web/web-app/demo/demo2.jsp +++ b/bigbluebutton-web/web-app/demo/demo2.jsp @@ -26,7 +26,7 @@ Author: Fred Dixon -Insert title here +BigBlueButton API Demos @@ -44,7 +44,7 @@ if (request.getParameterMap().isEmpty()) { %>


-

Demo #2: Join a Selected Meeting

+

Demo #2: Join a Selected Meeting.


@@ -55,7 +55,7 @@ if (request.getParameterMap().isEmpty()) { Enter your name:
+ name="username" />

@@ -88,10 +88,10 @@ Join: