struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From git-site-r...@apache.org
Subject [struts-site] branch asf-site updated: Updates production by Jenkins
Date Wed, 10 Jan 2018 13:16:00 GMT
This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/struts-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new f515c96  Updates production by Jenkins
f515c96 is described below

commit f515c9645e12aca5c72def7a9c52c6c0a6b6912c
Author: jenkins <builds@apache.org>
AuthorDate: Wed Jan 10 13:15:59 2018 +0000

    Updates production by Jenkins
---
 content/getting-started/exception-handling.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/content/getting-started/exception-handling.html b/content/getting-started/exception-handling.html
index f75a5d6..1ccceb2 100644
--- a/content/getting-started/exception-handling.html
+++ b/content/getting-started/exception-handling.html
@@ -144,7 +144,7 @@
 
 <h2 id="introduction">Introduction</h2>
 
-<p>In this tutorial we’ll explore how to enable the Struts 2 framework to handle
any uncaught exceptions generated by a web application. Struts 2 provides robust exception
handling, including the ability to automatically log any uncaught exceptions and redirect
the user to a error web page.</p>
+<p>In this tutorial we’ll explore how to enable the Struts 2 framework to handle
any uncaught exceptions generated by a web application. Struts 2 provides robust exception
handling, including the ability to automatically log any uncaught exceptions and redirect
the user to an error web page.</p>
 
 <p>The <a href="http://struts.apache.org/mail.html">Struts 2 user mailing list</a>
is an excellent place to get help. If you are having a problem getting the tutorial example
applications to work search the Struts 2 mailing list. If you don’t find an answer to your
problem, post a question on the mailing list.</p>
 
@@ -152,7 +152,7 @@
 
 <p>Using the Struts 2 framework you can specify in the struts.xml how the framework
should handle uncaught exceptions. The handling logic can apply to all actions (global exception
handling) or to a specific action. Let’s first discuss how to enable global exception handling.</p>
 
-<p>To enable global exception handling you need to add two nodes to <code class="highlighter-rouge">struts.xml</code>:
<code class="highlighter-rouge">global-exception-mapping</code> and <code class="highlighter-rouge">global-results</code>.
For example examine the <code class="highlighter-rouge">struts.xml</code> from
the exception_handling project.</p>
+<p>To enable global exception handling you need to add two nodes to <code class="highlighter-rouge">struts.xml</code>:
<code class="highlighter-rouge">global-exception-mapping</code> and <code class="highlighter-rouge">global-results</code>.
For example examine the <code class="highlighter-rouge">struts.xml</code> from
the exception-handling project.</p>
 
 <div class="highlighter-rouge"><pre class="highlight"><code><span class="nt">&lt;global-results&gt;</span>
     <span class="nt">&lt;result</span> <span class="na">name=</span><span
class="s">"securityerror"</span><span class="nt">&gt;</span>/securityerror.jsp<span
class="nt">&lt;/result&gt;</span>

-- 
To stop receiving notification emails like this one, please contact
['"commits@struts.apache.org" <commits@struts.apache.org>'].

Mime
View raw message