diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml index b9c73579cff2439499df33b85067121c15d040bd..097b6fd53ca177fd61be370dd97c49f5ae276650 100644 --- a/src/main/webapp/WEB-INF/web.xml +++ b/src/main/webapp/WEB-INF/web.xml @@ -70,32 +70,6 @@ <url-pattern>/*</url-pattern> </filter-mapping> - <mime-mapping> - <extension>manifest</extension> - <mime-type>text/cache-manifest</mime-type> - </mime-mapping> - <mime-mapping> - <extension>json</extension> - <mime-type>application/json</mime-type> - </mime-mapping> - - <error-page> - <error-code>401</error-code> - <location>/error/401.html</location> - </error-page> - <error-page> - <error-code>403</error-code> - <location>/error/403.html</location> - </error-page> - <error-page> - <error-code>404</error-code> - <location>/error/404.html</location> - </error-page> - <error-page> - <error-code>500</error-code> - <location>/error/500.html</location> - </error-page> - <session-config> <tracking-mode>COOKIE</tracking-mode> </session-config> diff --git a/src/main/webapp/error/401.html b/src/main/webapp/error/401.html deleted file mode 100644 index 2be558baca7e72272fb7e7e1a2faf1e36331b5f3..0000000000000000000000000000000000000000 --- a/src/main/webapp/error/401.html +++ /dev/null @@ -1,16 +0,0 @@ -<!DOCTYPE html> -<html> -<head> - <meta charset="UTF-8"> - <title>Not Found</title> - <link href="error/error.css" rel="stylesheet" type="text/css" /> -</head> -<body> - <article> - <h1>401 - UNAUTORIZED</h1> - <p> - Sorry, you must be authorized to request this resource - </p> - </article> -</body> -</html> diff --git a/src/main/webapp/error/403.html b/src/main/webapp/error/403.html deleted file mode 100644 index b39c7e299b7dec18407ab414794f82c27ccdf2f0..0000000000000000000000000000000000000000 --- a/src/main/webapp/error/403.html +++ /dev/null @@ -1,16 +0,0 @@ -<!DOCTYPE html> -<html> -<head> - <meta charset="UTF-8"> - <title>Not Found</title> - <link href="error/error.css" rel="stylesheet" type="text/css" /> -</head> -<body> - <article> - <h1>403 - FORBIDDEN</h1> - <p> - Sorry, you are not allowed to request this resource - </p> - </article> -</body> -</html> diff --git a/src/main/webapp/error/404.html b/src/main/webapp/error/404.html deleted file mode 100644 index 6560f42022344c56112c64084c7ce59e8de02281..0000000000000000000000000000000000000000 --- a/src/main/webapp/error/404.html +++ /dev/null @@ -1,16 +0,0 @@ -<!DOCTYPE html> -<html> -<head> - <meta charset="UTF-8"> - <title>Not Found</title> - <link href="error/error.css" rel="stylesheet" type="text/css" /> -</head> -<body> - <article> - <h1>404 - NOT FOUND</h1> - <p> - Sorry, the resource you are requesting could not be found - </p> - </article> -</body> -</html> diff --git a/src/main/webapp/error/500.html b/src/main/webapp/error/500.html deleted file mode 100644 index 9f510cbdae5cb0aff421524222c6d1bba1d3c6e6..0000000000000000000000000000000000000000 --- a/src/main/webapp/error/500.html +++ /dev/null @@ -1,16 +0,0 @@ -<!DOCTYPE html> -<html> -<head> - <meta charset="UTF-8"> - <title>Not Found</title> - <link href="error/error.css" rel="stylesheet" type="text/css" /> -</head> -<body> - <article> - <h1>500 - INTERNAL SERVER ERROR</h1> - <p> - Sorry, this should not happen. - </p> - </article> -</body> -</html> diff --git a/src/main/webapp/error/503.html b/src/main/webapp/error/503.html deleted file mode 100644 index 89917502c7a64ffc00414ed459935669271f8cba..0000000000000000000000000000000000000000 --- a/src/main/webapp/error/503.html +++ /dev/null @@ -1,16 +0,0 @@ -<!DOCTYPE html> -<html> -<head> - <meta charset="UTF-8"> - <title>Not Found</title> - <link href="error/error.css" rel="stylesheet" type="text/css" /> -</head> -<body> - <article> - <h1>503 - SERVICE UNAVAILABLE</h1> - <p> - Sorry, this should not happen. - </p> - </article> -</body> -</html> diff --git a/src/main/webapp/error/error.css b/src/main/webapp/error/error.css deleted file mode 100644 index 944083efe5aee499bf9243be1731910068d59b82..0000000000000000000000000000000000000000 --- a/src/main/webapp/error/error.css +++ /dev/null @@ -1,22 +0,0 @@ -@CHARSET "UTF-8"; - -body { - background: #eee; -} - -article { - background: white url(thm-logo.png) no-repeat 16px 98%; - margin: 16px; - padding: 48px 16px; - border-radius: 4px; - box-shadow: 0 1px 2px #ccc; - text-align: center; - font-weight: bold; -} - -article > h1 { - background: url(logo_128.png) no-repeat 50% top; - padding: 140px 48px 48px 48px; - color: #800000; - text-shadow: 0 1px 0 white, 0 2px 1px #ccc; -} diff --git a/src/main/webapp/error/logo_128.png b/src/main/webapp/error/logo_128.png deleted file mode 100644 index 4be3cdaf3e20b8103942d3b60a83a143c7cedc0f..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/error/logo_128.png and /dev/null differ diff --git a/src/main/webapp/error/thm-logo.png b/src/main/webapp/error/thm-logo.png deleted file mode 100644 index 2d4f9eefbf5b2603119412cc1fc1105f7323560c..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/error/thm-logo.png and /dev/null differ