<%@ page contentType="text/html; charset=utf-8" %> <% String nick = ""; com.jsos.chat.LoginBean lb = (com.jsos.chat.LoginBean)session.getAttribute("chatnick"); if (lb!=null) nick = lb.getUserName(); String prompt = "type your nick"; %>
<% if (nick.length()==0) { %> <% } else { %> <% } %>