This commit is contained in:
Erik C. Thauvin 2021-03-17 12:29:46 -07:00
parent 41471e31af
commit 589f451927
2 changed files with 2 additions and 2 deletions

View file

@ -55,7 +55,7 @@ The `<hs:code/>` tag displays the current HTTP status code, if any. A shorthand
## hs:message
The `<hs:message/>` tag displays the cause of current error message, if any. A shorthand for:
The `<hs:message/>` tag displays the current error message, if any. A shorthand for:
```jsp
<%= request.getAttribute("javax.servlet.error.message") %>

View file

@ -123,7 +123,7 @@ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warni
<p>The <code>&lt;hs:code/&gt;</code> tag displays the current HTTP status code, if any. A shorthand for:</p>
<div class="sourceCode" id="cb5"><pre class="sourceCode jsp"><code class="sourceCode jsp"><a class="sourceLine" id="cb5-1" title="1">&lt;%= pageContext.getErrorData().getStatusCode() %&gt;</a></code></pre></div>
<h2 id="hsmessage">hs:message</h2>
<p>The <code>&lt;hs:message/&gt;</code> tag displays the cause of current error message, if any. A shorthand for:</p>
<p>The <code>&lt;hs:message/&gt;</code> tag displays the current error message, if any. A shorthand for:</p>
<div class="sourceCode" id="cb6"><pre class="sourceCode jsp"><code class="sourceCode jsp"><a class="sourceLine" id="cb6-1" title="1">&lt;%= request.getAttribute(<span class="st">&quot;javax.servlet.error.message&quot;</span>) %&gt;</a></code></pre></div>
<p>Optional attributes are:</p>
<table>