struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hus...@apache.org
Subject cvs commit: jakarta-struts/web/blank index.jsp
Date Wed, 10 Jul 2002 20:20:09 GMT
husted      2002/07/10 13:20:09

  Modified:    web/blank index.jsp
  Log:
  Update blank application for tiles, validator, et cetera.
  
  Revision  Changes    Path
  1.2       +9 -24     jakarta-struts/web/blank/index.jsp
  
  Index: index.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/web/blank/index.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- index.jsp	12 Feb 2001 23:59:40 -0000	1.1
  +++ index.jsp	10 Jul 2002 20:20:09 -0000	1.2
  @@ -1,24 +1,9 @@
  -<%@ page language="java" %>
  -<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
  -<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
  -<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
  -
  -<html:html locale="true">
  -<head>
  -<title><bean:message key="index.title"/></title>
  -<html:base/>
  -</head>
  -<body bgcolor="white">
  -
  -<logic:notPresent name="org.apache.struts.action.MESSAGE" scope="application">
  -  <font color="red">
  -    ERROR:  Application resources not loaded -- check servlet container
  -    logs for error messages.
  -  </font>
  -</logic:notPresent>
  -
  -<h3><bean:message key="index.heading"/></h3>
  -<p><bean:message key="index.message"/></p>
  -
  -</body>
  -</html:html>
  +<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
  +<logic:redirect forward="welcome"/>
  +
  +<%--
  +
  +Redirect default requests to Welcome global ActionForward.
  +By using a redirect, the user-agent will change address to match the path of our Welcome
ActionForward. 
  +
  +--%>
  
  
  

--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@jakarta.apache.org>


Mime
View raw message