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 2015/04/30 10:26:30 UTC

svn commit: r1676923 - /myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/index.jsp

Author: lofwyr
Date: Thu Apr 30 08:26:30 2015
New Revision: 1676923

URL: http://svn.apache.org/r1676923
Log:
Using "jsp forward" instead of "response redirect" to not cache the forward in the browser

Modified:
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/index.jsp

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/index.jsp
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/index.jsp?rev=1676923&r1=1676922&r2=1676923&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/index.jsp (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/index.jsp Thu Apr 30 08:26:30 2015
@@ -14,7 +14,4 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
 --%>
-<%@ page session="false"%>
-<%
-  response.sendRedirect("faces/init.xhtml");
-%>
+<jsp:forward page="faces/init.xhtml"/>
\ No newline at end of file