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 10d3402 Updates production by Jenkins
10d3402 is described below
commit 10d34024ac300c57780fcf3d29bf08a02b64d258
Author: jenkins <[email protected]>
AuthorDate: Fri Nov 24 13:37:47 2017 +0000
Updates production by Jenkins
---
content/getting-started/hello-world-using-struts2.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/content/getting-started/hello-world-using-struts2.html
b/content/getting-started/hello-world-using-struts2.html
index 31ae3fc..2ff1f6a 100644
--- a/content/getting-started/hello-world-using-struts2.html
+++ b/content/getting-started/hello-world-using-struts2.html
@@ -301,7 +301,7 @@ The <code class="highlighter-rouge">getMessage</code>
method of class <code cla
The mapping tells the Struts 2 framework which class will respond to the
user’s action (the URL), which method of that
class will be executed, and what view to render based on the String result
that method returns.</p>
-<p>Edit the <code class="highlighter-rouge">struts.xml</code> file (in the Mvn
project that file is in the src/main/resources folder) to add the action
mapping.
+<p>Edit the <code class="highlighter-rouge">struts.xml</code> file (in the Mvn
project that file is in the <code
class="highlighter-rouge">src/main/resources</code> folder) to add the action
mapping.
Place the action node (action <code
class="highlighter-rouge">name="hello"</code>) between the opening and closing
package node, just after the action mapping
with the <code class="highlighter-rouge">name="index"</code>. Your complete
<code class="highlighter-rouge">struts.xml</code> should look like:</p>
@@ -375,8 +375,8 @@ should see the following:</p>
<p>Your browser sends to the web server a request for the URL <a
href="http://localhost:8080/helloworld/hello.action">http://localhost:8080/helloworld/hello.action</a>.</p>
<ol>
- <li>The container receives from the web server a request for the resource
<code class="highlighter-rouge">hello.action</code>. According to the settings
loaded f
- rom the <a href="../core-developers/web-xml.html">web.xml</a>, the container
finds that all requests are being routed to
+ <li>The container receives from the web server a request for the resource
<code class="highlighter-rouge">hello.action</code>. According to the settings
loaded
+ from the <a href="../core-developers/web-xml.html">web.xml</a>, the
container finds that all requests are being routed to
<code
class="highlighter-rouge">org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter</code>,
including the <code class="highlighter-rouge">*.action</code> requests.
The <code class="highlighter-rouge">StrutsPrepareAndExecuteFilter</code> is
the entry point into the framework.</li>
<li>The framework looks for an action mapping named “hello”, and it finds
that this mapping corresponds to the class
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].