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 2014/02/17 11:50:39 UTC

svn commit: r1568938 - in /myfaces/tobago/branches/tobago-3.0.x/tobago-example: tobago-example-demo/src/main/webapp/ tobago-example-demo/src/main/webapp/WEB-INF/ tobago-example-test/src/main/webapp/

Author: lofwyr
Date: Mon Feb 17 10:50:38 2014
New Revision: 1568938

URL: http://svn.apache.org/r1568938
Log:
html is a bit more nice than jsp

Added:
    myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/index.html
      - copied, changed from r1568919, myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/index.jsp
Removed:
    myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/index.jsp
Modified:
    myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/web.xml
    myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-test/src/main/webapp/index.html

Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/web.xml?rev=1568938&r1=1568937&r2=1568938&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/web.xml (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/web.xml Mon Feb 17 10:50:38 2014
@@ -176,7 +176,7 @@
 
   <!-- The Usual Welcome File List -->
   <welcome-file-list>
-    <welcome-file>index.jsp</welcome-file>
+    <welcome-file>index.html</welcome-file>
   </welcome-file-list>
 
   <jsp-config>

Copied: myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/index.html (from r1568919, myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/index.jsp)
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/index.html?p2=myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/index.html&p1=myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/index.jsp&r1=1568919&r2=1568938&rev=1568938&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/index.jsp (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/index.html Mon Feb 17 10:50:38 2014
@@ -1,4 +1,6 @@
-<%--
+<!DOCTYPE html>
+
+<!--
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
@@ -13,8 +15,13 @@
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
---%>
-<%@ page session="false"%>
-<%
-  response.sendRedirect("faces/init.xhtml");
-%>
+-->
+
+<html>
+<head>
+  <meta http-equiv="Cache-Control" content="no-cache">
+  <meta http-equiv="Refresh" content="0; URL=faces/init.xhtml">
+</head>
+<body>
+</body>
+</html>

Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-test/src/main/webapp/index.html
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-test/src/main/webapp/index.html?rev=1568938&r1=1568937&r2=1568938&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-test/src/main/webapp/index.html (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-test/src/main/webapp/index.html Mon Feb 17 10:50:38 2014
@@ -1,4 +1,4 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!DOCTYPE html>
 
 <!--
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -19,11 +19,9 @@
 
 <html>
 <head>
+  <meta http-equiv="Cache-Control" content="no-cache">
   <meta http-equiv="Refresh" content="0; URL=faces/navigation.xhtml">
 </head>
 <body>
-<noscript>
-  <div>No JavaScript available!</div>
-</noscript>
 </body>
 </html>