tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From patri...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/webapps/admin banner.jsp sample.jsp
Date Sat, 10 Nov 2001 18:07:20 GMT
patrickl    01/11/10 10:07:20

  Added:       webapps/admin banner.jsp sample.jsp
  Log:
  Changed webapp to use frames like the prototype posted to the tomcat-dev mailing list. Also,
added workaround so that login.jsp will not load within a frame.
  
  Revision  Changes    Path
  1.1                  jakarta-tomcat-4.0/webapps/admin/banner.jsp
  
  Index: banner.jsp
  ===================================================================
  <!-- Standard Struts Entries -->
  
  <%@ 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">
  
  <!-- Standard Content -->
  
  <%@ include file="header.jsp" %>
  
  <!-- Body -->
  
  <body bgcolor="white">
  
  <center>
  
  <h2><bean:message key="index.success"/></h2>
  <p>
  <h2>
    <bean:message key="index.logout"/>
    <html:link page="/logOut.do" target="_top">
      <bean:message key="index.here"/>
    </html:link>
  </h2>
  
  <!-- Select language -->
  
  <!--
  
  <h2><bean:message key="login.changeLanguage"/></h2>
  
  <html:form action="/setLocale" method="POST">
    <table border="0" cellspacing="5">
      <tr>
        <td align="right">
          <html:select property="locale">
            <html:options name="applicationLocales"
                      property="localeValues"
                     labelName="applicationLocales"
                 labelProperty="localeLabels"/>
          </html:select>
        </td>
        <td align="left">
          <html:submit>
            <bean:message key="button.change"/>
          </html:submit>
        </td>
      </tr>
    </table>
  </html:form>
  -->
  
  </center>
  
  <!-- Standard Footer -->
  
  <%@ include file="footer.jsp" %>
  
  </body>
  
  </html:html>
  
  
  
  1.1                  jakarta-tomcat-4.0/webapps/admin/sample.jsp
  
  Index: sample.jsp
  ===================================================================
  <!-- Standard Struts Entries -->
  
  <%@ 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">
  
  <!-- Standard Content -->
  
  <%@ include file="header.jsp" %>
  
  <!-- Body -->
  
  <body bgcolor="white">
  
  <!-- Sample Form -->
  
  <html:errors/>
  <html:form method="POST" action="/sample" focus="someText">
    <table border="0" cellspacing="5">
      <tr>
        <th align="right">
          <bean:message key="prompt.someText"/>
        </th>
        <td align="left">
          <html:text property="someText" size="16" maxlength="16"/>
        </td>
      </tr>
      <tr>
        <th align="right">
          <bean:message key="prompt.moreText"/>
        </th>
        <td align="left">
          <html:text property="moreText" size="16" maxlength="16"/>
        </td>
      </tr>
      <tr>
        <td align="right">
          <html:submit>
            <bean:message key="button.save"/>
          </html:submit>
        </td>
        <td align="left">
          <html:reset>
            <bean:message key="button.reset"/>
          </html:reset>
        </td>
      </tr>
    </table>
  </html:form>
  
  <!-- Standard Footer -->
  
  <%@ include file="footer.jsp" %>
  
  </body>
  
  </html:html>
  
  
  

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


Mime
View raw message