You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by sd...@apache.org on 2017/04/17 08:23:53 UTC

[1/2] struts-examples git commit: Added README.md file

Repository: struts-examples
Updated Branches:
  refs/heads/master c785bc559 -> 5b55e1aa8


Added README.md file


Project: http://git-wip-us.apache.org/repos/asf/struts-examples/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts-examples/commit/213b0a59
Tree: http://git-wip-us.apache.org/repos/asf/struts-examples/tree/213b0a59
Diff: http://git-wip-us.apache.org/repos/asf/struts-examples/diff/213b0a59

Branch: refs/heads/master
Commit: 213b0a59dd0bc4f9240dc286a475ebe8d10db1eb
Parents: c785bc5
Author: Stefaan Dutry <st...@gmail.com>
Authored: Mon Apr 17 10:15:14 2017 +0200
Committer: Stefaan Dutry <st...@gmail.com>
Committed: Mon Apr 17 10:22:58 2017 +0200

----------------------------------------------------------------------
 basic-struts/README.md | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts-examples/blob/213b0a59/basic-struts/README.md
----------------------------------------------------------------------
diff --git a/basic-struts/README.md b/basic-struts/README.md
new file mode 100644
index 0000000..529ccb4
--- /dev/null
+++ b/basic-struts/README.md
@@ -0,0 +1,24 @@
+This is the example project referred to in the Struts 2 documentation, [How To Create A Struts 2 Web Application](http://struts.apache.org/getting-started/how-to-create-a-struts2-web-application.html) tutorial.
+
+## Building the war
+### Using Maven
+To build the application's war file run `mvn clean package` from the project's root folder.
+
+The war file is created in the `target` sub-folder.
+
+## Running the application
+### Using Maven
+run the command `mvn jetty:run`
+
+### Using a servlet container
+Copy the war file to your Servlet container (e.g. Tomcat) and then startup the Servlet container.
+
+## Accessing the application
+
+In a web browser go to:  [http://localhost:8080/basic-struts/index.action]([http://localhost:8080/basic-struts/index.action) 
+
+You should see a web page with 
+
+```
+Welcome to Struts 2!
+```


[2/2] struts-examples git commit: fixed link

Posted by sd...@apache.org.
fixed link


Project: http://git-wip-us.apache.org/repos/asf/struts-examples/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts-examples/commit/5b55e1aa
Tree: http://git-wip-us.apache.org/repos/asf/struts-examples/tree/5b55e1aa
Diff: http://git-wip-us.apache.org/repos/asf/struts-examples/diff/5b55e1aa

Branch: refs/heads/master
Commit: 5b55e1aa8a78ea3683648b565d9dd99fe9126bd5
Parents: 213b0a5
Author: Stefaan Dutry <st...@gmail.com>
Authored: Mon Apr 17 10:19:46 2017 +0200
Committer: Stefaan Dutry <st...@gmail.com>
Committed: Mon Apr 17 10:23:15 2017 +0200

----------------------------------------------------------------------
 basic-struts/README.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts-examples/blob/5b55e1aa/basic-struts/README.md
----------------------------------------------------------------------
diff --git a/basic-struts/README.md b/basic-struts/README.md
index 529ccb4..457578c 100644
--- a/basic-struts/README.md
+++ b/basic-struts/README.md
@@ -10,12 +10,12 @@ The war file is created in the `target` sub-folder.
 ### Using Maven
 run the command `mvn jetty:run`
 
-### Using a servlet container
+### Using a Servlet container
 Copy the war file to your Servlet container (e.g. Tomcat) and then startup the Servlet container.
 
 ## Accessing the application
 
-In a web browser go to:  [http://localhost:8080/basic-struts/index.action]([http://localhost:8080/basic-struts/index.action) 
+In a web browser go to:  [http://localhost:8080/basic-struts/index.action](http://localhost:8080/basic-struts/index.action) 
 
 You should see a web page with