![](https://i-blog.csdnimg.cn/blog_migrate/8f900a89c6347c561fdf2122f13be562.gif)
![](https://i-blog.csdnimg.cn/blog_migrate/961ddebeb323a10fe0623af514929fc1.gif)
index.jsp<%@ page language="java" import="java.util.*" pageEncoding="gb2312" %> <html> <head> <link rel="stylesheet" type="text/css" href="css/Date.css"> <script type="text/javascript" src="js/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="js/BrowChoose-1.1.2.muruiqing.js"></script> <script type="text/javascript"> function imgsinto(num) { var conto = document.myfrom.conto.value; document.myfrom.conto.value = conto + "/" + num + ")"; } </script> </head> <body bgcolor="wheat"> <table border="1" height="100%" width="100%" name="bat"> <tr> <td rowspan="3" width="20%" valign="top"><font color="darksalmon"><h3>木木聊天室</h3></font><br> 在线友友<br> <% String username = (String) application.getAttribute("name"); if (username == null) { out.print("..."); } else { out.print(username); } %></td> <td height="10%"> <%@ include file="Ceil.jsp" %> </td> </tr> <tr> <td height="70%" valign="top"><% String con = (String) application.getAttribute("con"); if (con == null) { out.print("..."); } else { session.getAttribute("Users"); out.print(con); } %></td> </tr> <tr> <td> <form action="Packet.jsp" name="from1"> <input type="hidden" name="id" value="3"> <input type="hidden" name="clear" value="clear"> <input type="submit" value="清屏"> </form> <a href="index.jsp"><font color="green">刷新</font></a> <input id="muruiqing" name="txt" type="button" value="添加表情" οnclick='getBrow("muruiqing","tr")'/><br> <form action="Packet.jsp?" name="myfrom"> <font color="red">字体色</font><input type="radio" name="color" value="red"> <font color="gold">字体色</font><input type="radio" name="color" value="gold"> <font color="blue">字体色</font><input type="radio" name="color" value="blue"> <font color="green">字体色</font><input type="radio" name="color" value="green"><br> <font color="slateblue">字体色</font><input type="radio" name="color" value="slateblue"> <font color="lightpink">字体色</font><input type="radio" name="color" value="lightpink"> <font color="lightgreen">字体色</font><input type="radio" name="color" value="lightgreen"> <font color="black">字体色</font><input type="radio" name="color" value="black"> <br> <input type="submit" value="发送"> <textarea id="tr" name="conto" rows="10" cols="70%"></textarea> <input type="hidden" name="id" value="2"> </form> <a href="Land.jsp"><span id="on">登陆</span></a> </td> </tr> </table> </body> </html>