<%-- /* * Copyright 2001-2013 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ Document : header-top Created on : Feb 24, 2013, 9:08:12 AM Author : Alex O'Ree --%> <%@page import="org.apache.juddi.adminconsole.hub.UddiAdminHub"%> <%@page import="org.apache.juddi.adminconsole.resources.ResourceLoader"%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <% //this is to catch someone that bookmarked a page after selecting a language Cookie[] cookies2 = request.getCookies(); if (cookies2 != null && cookies2.length > 0) { for (int i = 0; i < cookies2.length; i++) { if (cookies2[i] != null && cookies2[i].getName() != null && cookies2[i].getName().equalsIgnoreCase("locale")) { if (cookies2[i].getValue() != null) { session.setAttribute("locale", cookies2[i].getValue()); } } } } if (session.getAttribute("locale") == null) { //last chance, default to english session.setAttribute("locale", "en"); } %> " dir="<%=ResourceLoader.GetResource(session, "direction")%>"> <%=ResourceLoader.GetResource(session, "title")%> ">
<%@include file="csrf.jsp" %> " /> <% UddiAdminHub hub = UddiAdminHub.getInstance(application, session); %>