<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> <%@ page import="java.util.Map, java.util.HashMap" %> <% String base_dir = request.getContextPath(); request.setAttribute("dto", null); String cid = (String) request.getAttribute("cid"); Map urls = new HashMap(); urls.put("edit", "/Centre/Details"); urls.put("delete", "/Centre/User/Delete"); urls.put("search", "/Centre/User/Show"); session.setAttribute("urls", urls); %>

<% if (cid!=null && !cid.equals("")) { %>

  • <% if (cid!=null && !cid.equals("")) { %>
  • <% } else { %>
  • <% } %>

<% } else { System.err.println(request.getUserPrincipal().getName()+" tried to access the centre home, but is not attached to a centre."); %>

You do not have a valid centre.

<% } %>