blob: b7bc0d02c647cc78cb56c825d46e65c38c11f35f [file] [log] [blame]
Hongqing Liufd5ee812014-05-10 16:32:51 +08001<%@page contentType="text/html; charset=UTF-8" %>
2<% if (session.getAttribute("nickname") == null) {
3 response.sendRedirect("login.jsp");
4 return;
5}
6%>
7<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
8<html>
9<!--
10 Licensed to the Apache Software Foundation (ASF) under one or more
11 contributor license agreements. See the NOTICE file distributed with
12 this work for additional information regarding copyright ownership.
13 The ASF licenses this file to You under the Apache License, Version 2.0
14 (the "License"); you may not use this file except in compliance with
15 the License. You may obtain a copy of the License at
16
17 http://www.apache.org/licenses/LICENSE-2.0
18
19 Unless required by applicable law or agreed to in writing, software
20 distributed under the License is distributed on an "AS IS" BASIS,
21 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22 See the License for the specific language governing permissions and
23 limitations under the License.
24-->
25<head>
26 <title>JSP Chat</title>
27</head>
28<frameset rows="1*,4*">
29 <frame name="post" src="post.jsp" scrolling="no" title="Post message">
30 <frame name="chat" src="chat" scrolling="yes" title="Chat">
31</frameset>
32</html>