<%-- Document : index Created on : Feb 1, 2008, 11:31:10 AM Author : aili --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%> <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%> <% // if first time login, redirect to profile .. int lastlogin = sess.getProfile().getLastLogin(); sess.updateLastLogin(); if (lastlogin == 0) { %><% } else if (sess.getProfile().getUserRole().equals("user")) { %><% } %> <%@ include file ="../WEB-INF/jspf/Header.jspf" %> <%@ include file="../WEB-INF/jspf/UserMenu.jspf" %> <%@ include file ="../WEB-INF/jspf/Footer.jspf" %>