Strabon
changeset 505:bd55cc99cea2
upgraded strabon-endpoint webapp to 2.5 to use JSTL 1.2 properly
author | Babis Nikolaou <charnik@di.uoa.gr> |
---|---|
date | Wed Jul 25 12:26:02 2012 +0300 (2012-07-25) |
parents | b408cde6beca |
children | 1056efcaa186 |
files | endpoint/WebContent/WEB-INF/web.xml endpoint/WebContent/describe.jsp |
line diff
1.1 --- a/endpoint/WebContent/WEB-INF/web.xml Wed Jul 25 01:59:00 2012 +0300 1.2 +++ b/endpoint/WebContent/WEB-INF/web.xml Wed Jul 25 12:26:02 2012 +0300 1.3 @@ -1,7 +1,10 @@ 1.4 <?xml version="1.0" encoding="UTF-8"?> 1.5 -<web-app id="WebApp_ID" version="2.4" 1.6 - xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 1.7 - xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> 1.8 +<web-app id="WebApp_ID" version="2.5" 1.9 + xmlns="http://java.sun.com/xml/ns/javaee" 1.10 + xmlns:base="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" 1.11 + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 1.12 + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> 1.13 + 1.14 <display-name>StrabonEndpoint</display-name> 1.15 <context-param> 1.16 <param-name>contextConfigLocation</param-name>
2.1 --- a/endpoint/WebContent/describe.jsp Wed Jul 25 01:59:00 2012 +0300 2.2 +++ b/endpoint/WebContent/describe.jsp Wed Jul 25 12:26:02 2012 +0300 2.3 @@ -1,5 +1,5 @@ 2.4 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> 2.5 -<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 2.6 +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 2.7 <jsp:directive.page import="eu.earthobservatory.org.StrabonEndpoint.Common"/> 2.8 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2.9 <html> 2.10 @@ -15,9 +15,9 @@ 2.11 return true; 2.12 } 2.13 if (e.style.display == "none") { 2.14 - e.style.display = "block" 2.15 + e.style.display = "block"; 2.16 } else { 2.17 - e.style.display = "none" 2.18 + e.style.display = "none"; 2.19 } 2.20 return true; 2.21 }