This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch new-mailreader
in repository https://gitbox.apache.org/repos/asf/struts-examples.git


The following commit(s) were added to refs/heads/new-mailreader by this push:
     new 4cb2459  Puts back .do extension
4cb2459 is described below

commit 4cb2459e608406985b8d9debce23aa2b4c7f5eaf
Author: Lukasz Lenart <[email protected]>
AuthorDate: Mon Dec 16 20:49:32 2019 +0100

    Puts back .do extension
---
 mailreader2/src/main/resources/struts.xml        |  2 +-
 mailreader2/src/main/webapp/WEB-INF/database.xml | 12 ++++++------
 mailreader2/src/main/webapp/index.html           |  2 +-
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/mailreader2/src/main/resources/struts.xml 
b/mailreader2/src/main/resources/struts.xml
index 5666723..2347c66 100644
--- a/mailreader2/src/main/resources/struts.xml
+++ b/mailreader2/src/main/resources/struts.xml
@@ -5,7 +5,7 @@
 
 <struts>
 
-    <constant name="struts.action.extension" value="" />
+    <constant name="struts.action.extension" value="do" />
     <constant name="struts.devMode" value="true" />
 
     <include file="mailreader-default.xml"/>
diff --git a/mailreader2/src/main/webapp/WEB-INF/database.xml 
b/mailreader2/src/main/webapp/WEB-INF/database.xml
index 9cbda88..e54d9c5 100644
--- a/mailreader2/src/main/webapp/WEB-INF/database.xml
+++ b/mailreader2/src/main/webapp/WEB-INF/database.xml
@@ -1,9 +1,9 @@
 <?xml version='1.0'?>
 <database>
-    <user username="user" fromAddress="[email protected]" fullName="John 
Q. User" password="pass">
-        <subscription host="mail.yahoo.com" autoConnect="false" password="foo" 
type="imap" username="jquser">
-        </subscription>
-        <subscription host="mail.hotmail.com" autoConnect="false" 
password="bar" type="pop3" username="user1234">
-        </subscription>
-    </user>
+  <user username="user" fromAddress="[email protected]" fullName="John 
Q. User" password="pass">
+    <subscription host="mail.yahoo.com" autoConnect="false" password="foo" 
type="imap" username="jquser">
+    </subscription>
+    <subscription host="mail.hotmail.com" autoConnect="false" password="bar" 
type="pop3" username="user1234">
+    </subscription>
+  </user>
 </database>
diff --git a/mailreader2/src/main/webapp/index.html 
b/mailreader2/src/main/webapp/index.html
index 6538065..1b01b3f 100644
--- a/mailreader2/src/main/webapp/index.html
+++ b/mailreader2/src/main/webapp/index.html
@@ -1,7 +1,7 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 <html>
 <head>
-    <META HTTP-EQUIV="Refresh" CONTENT="0;URL=Welcome">
+    <META HTTP-EQUIV="Refresh" CONTENT="0;URL=Welcome.do">
 </head>
 
 <body>

Reply via email to