%////////CHECK IF USER IS LOGGED IN if((session.getValue("user")+"").equals("null")) { response.sendRedirect("login.jsp?msg=You need to login to access this page.&postLoginPage=calendar.jsp"); } %>