<%@ page pageEncoding="Shift_JIS"%> <%-- ログインしているかチェックを行い、そうでなければログインページに遷移する--%> <% if(!cert.checkUserExist(session)){ response.sendRedirect("login.jsp"); } %>