1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-18 16:47:58 +01:00
Smack/apps/webchat/source/web/data.jsp

27 lines
468 B
Text
Raw Normal View History

<%--
-
-
--%>
<% // get the username of the current user
String nickname = (String)session.getAttribute("messenger.servlet.nickname");
if (nickname == null) {
nickname = "";
}
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Chat Data</title>
<script language="JavaScript" type="text/javascript">
var currUsername = "<%= nickname %>";
var data = new Array();
</script>
</head>
<body></body>
</html>