You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2018/11/01 09:10:02 UTC
[myfaces-tobago] branch master updated: demo: servlet mapping
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 <lo...@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>