diff --git a/sample/web/addContact.jsp b/sample/web/addContact.jsp index a6cce497b..0874eec1b 100644 --- a/sample/web/addContact.jsp +++ b/sample/web/addContact.jsp @@ -1,7 +1,7 @@ <%-- - - $$RCSfile$$ - - $$Revision$$ - - $$Date$$ + - $RCSfile$ + - $Revision$ + - $Date$ - - Copyright (C) 2002-2003 Jive Software. All rights reserved. - @@ -67,11 +67,12 @@ String group1 = getParameter(request, "group1"); String group2 = getParameter(request, "group2"); - if (user != null) { - roster.createEntry(user, nickname, new String[] {group1, group2}); - response.sendRedirect("viewRoster.jsp"); - return; - } + // Create a new entry in the roster that belongs to a certain groups + if (user != null) { + roster.createEntry(user, nickname, new String[] {group1, group2}); + response.sendRedirect("viewRoster.jsp"); + return; + } %>
@@ -83,7 +84,7 @@Add contact to roster | -+ | |