From 357d18e393da3f44402b453d30a5dfacedeb8aa7 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Fri, 19 Mar 2021 19:27:54 -0700 Subject: [PATCH] Updated README for 1.0.5. --- .github_changelog_generator | 2 +- build.gradle | 2 +- docs/README.html | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github_changelog_generator b/.github_changelog_generator index a1da91c..073fac8 100644 --- a/.github_changelog_generator +++ b/.github_changelog_generator @@ -1 +1 @@ -future-release=1.0.5 +future-release=1.0.6 diff --git a/build.gradle b/build.gradle index eb50066..c80858d 100644 --- a/build.gradle +++ b/build.gradle @@ -118,7 +118,7 @@ tasks.withType(Checkstyle) { } artifacts { - archives javadocJar, sourcesJar + archives javadocJar, sourcesJar } publishing { diff --git a/docs/README.html b/docs/README.html index d085a34..04bf565 100644 --- a/docs/README.html +++ b/docs/README.html @@ -81,7 +81,7 @@ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warni

release Maven Central
License (3-Clause BSD) Known Vulnerabilities Quality Gate Status
Build Status Build status CircleCI

-

A simple JSP Tag Library to display the code, reason and/or cause for HTTP status codes in JSP error pages.

+

A simple JSP Tag Library to display the code, reason, cause and/or message for HTTP status codes in JSP error pages.

For example:

<%@ page isErrorPage="true" %>
 <%@ taglib prefix="hs" uri="http://erik.thauvin.net/taglibs/httpstatus" %>
@@ -90,7 +90,8 @@ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warni
 </head>
 <h1><hs:reason default="Server Error"/></h1>
 Cause: <pre><hs:cause default="Unable to complete your request."/></pre>
-...
+Message: <pre><hs:message default="A server error has occured."/></pre> +...

or

<%@ page isErrorPage="true" import="net.thauvin.erik.httpstatus.Reasons" %>
 <%= Reasons.getReasonPhrase(pageContext.getErrorData().getStatusCode()) %>