myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject [myfaces-tobago] branch master updated: demo: servlet mapping
Date Thu, 01 Nov 2018 09:10:02 GMT
This is an automated email from the ASF dual-hosted git repository.

lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git


The following commit(s) were added to refs/heads/master by this push:
     new f0a6a34  demo: servlet mapping
f0a6a34 is described below

commit f0a6a34135845e60739789a1d6f27fb8377a1abf
Author: Udo Schnurpfeil <lofwyr@apache.org>
AuthorDate: Thu Nov 1 10:09:41 2018 +0100

    demo: servlet mapping
---
 tobago-example/tobago-example-blank/src/main/webapp/WEB-INF/web.xml | 2 +-
 tobago-example/tobago-example-blank/src/main/webapp/index.html      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tobago-example/tobago-example-blank/src/main/webapp/WEB-INF/web.xml b/tobago-example/tobago-example-blank/src/main/webapp/WEB-INF/web.xml
index 3a87233..bee599d 100644
--- a/tobago-example/tobago-example-blank/src/main/webapp/WEB-INF/web.xml
+++ b/tobago-example/tobago-example-blank/src/main/webapp/WEB-INF/web.xml
@@ -48,7 +48,7 @@
 
   <servlet-mapping>
     <servlet-name>FacesServlet</servlet-name>
-    <url-pattern>/faces/*</url-pattern>
+    <url-pattern>*.xhtml</url-pattern>
   </servlet-mapping>
 
   <!-- The Usual Welcome File List -->
diff --git a/tobago-example/tobago-example-blank/src/main/webapp/index.html b/tobago-example/tobago-example-blank/src/main/webapp/index.html
index e80661c..1c29dbc 100644
--- a/tobago-example/tobago-example-blank/src/main/webapp/index.html
+++ b/tobago-example/tobago-example-blank/src/main/webapp/index.html
@@ -20,7 +20,7 @@
 <html>
 <head>
   <meta http-equiv="Cache-Control" content="no-cache">
-  <meta http-equiv="Refresh" content="0; URL=faces/helloWorld.xhtml">
+  <meta http-equiv="Refresh" content="0; URL=helloWorld.xhtml">
 </head>
 <body>
 </body>


Mime
View raw message