1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-27 00:32:07 +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>