tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kin...@apache.org
Subject cvs commit: jakarta-servletapi-5/jsr152/src/ant/task Txt2Html.java
Date Fri, 03 Oct 2003 20:18:07 GMT
kinman      2003/10/03 13:18:07

  Modified:    jsr152   build.xml
               jsr152/examples/cal calendar.html
               jsr152/examples/checkbox cresult.html
               jsr152/examples/colors clr.html
               jsr152/examples/dates date.html
               jsr152/examples/error er.html
               jsr152/examples/forward fwd.html
               jsr152/examples/include inc.html
               jsr152/examples/jsp2/el basic-arithmetic.html
                        basic-comparisons.html functions.html
                        implicit-objects.html
               jsr152/examples/jsp2/jspattribute jspattribute.html
                        shuffle.html
               jsr152/examples/jsp2/jspx basic.html textRotate.html
               jsr152/examples/jsp2/misc config.html dynamicattrs.html
               jsr152/examples/jsp2/simpletag book.html hello.html
                        repeat.html
               jsr152/examples/jsp2/tagfiles hello.html panel.html
                        products.html
               jsr152/examples/jsptoserv jts.html
               jsr152/examples/num numguess.html
               jsr152/examples/plugin plugin.html plugin.jsp
               jsr152/examples/sessions crt.html
               jsr152/examples/simpletag foo.html
               jsr152/examples/snp snoop.html
               jsr152/examples/xml xml.html
  Added:       jsr152/src/ant/task Txt2Html.java
  Log:
  - Patch by Mark Roth:
  
  There were reports of the "View Source" option not working for the JSP
  examples in some versions of IE.  Apparently some configurations of IE
  will process the HTML tags in text files instead of rendering them as
  text.  I've made the following enhancements:
  
     * Created new ant task Txt2Html that converts text files to
       escaped HTML in a 'pre' tag
     * Modified build.xml to build and import Txt2Html task
     * Modified build.xml to generate foo.jsp.html instead of foo.jsp.txt
       using new Txt2Html task
     * Updated example HTML files to refer to foo.jsp.html instead of
       foo.jsp.txt
     * Fixed some broken links and broken image links in some HTML files
     * Fixed plugin example to use relative path name to applet codebase
       instead of absolute path
  
  Revision  Changes    Path
  1.8       +34 -37    jakarta-servletapi-5/jsr152/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/build.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- build.xml	1 May 2003 22:39:50 -0000	1.7
  +++ build.xml	3 Oct 2003 20:18:06 -0000	1.8
  @@ -33,6 +33,7 @@
       <mkdir dir="${jsp-api.build}/docs"/>
       <mkdir dir="${jsp-api.build}/docs/api"/>
       <mkdir dir="${jsp-api.build}/examples"/>
  +    <mkdir dir="${jsp-api.build}/ant"/>
   
       <!-- "Dist" Hierarchy -->
       <mkdir dir="${jsp-api.dist}"/>
  @@ -106,8 +107,17 @@
     </target>
   
   
  -  <!-- ======================== Build JavaDoc =========================== -->
  -  <target name="examples" depends="prepare">
  +  <!-- ======================== Build Examples =========================== -->
  +  <target name="ant" depends="prepare">
  +    <javac  srcdir="src/ant" destdir="${jsp-api.build}/ant"
  +            debug="${compile.debug}" deprecation="${compile.deprecation}"
  +            optimize="${compile.optimize}" 
  +            classpath="${ant.home}/lib/ant.jar" />
  +    <taskdef    name="txt2html" classname="task.Txt2Html"
  +                classpath="${jsp-api.build}/ant" />
  +  </target>
  +  
  +  <target name="examples" depends="prepare,ant">
   
       <copy todir="${jsp-api.build}/examples">
         <fileset dir="examples">
  @@ -115,7 +125,7 @@
         </fileset>
       </copy>
   
  -    <copy todir="${jsp-api.build}/examples/jsp2/simpletag">
  +    <txt2html todir="${jsp-api.build}/examples/jsp2/simpletag">
         <fileset dir="examples/WEB-INF/classes/jsp2/examples">
           <include name="BookBean.java"/>
         </fileset>
  @@ -127,10 +137,9 @@
         <fileset dir="examples/WEB-INF/classes/jsp2/examples/el">
           <include name="Functions.java"/>
         </fileset>
  -      <mapper type="glob" from="*.java" to="*.java.txt"/>
  -    </copy>
  +    </txt2html>
   
  -    <copy todir="${jsp-api.build}/examples/jsp2/jspattribute">
  +    <txt2html todir="${jsp-api.build}/examples/jsp2/jspattribute">
         <fileset dir="examples/WEB-INF/classes/jsp2/examples">
           <include name="FooBean.java"/>
         </fileset>
  @@ -139,47 +148,46 @@
           <include name="TileSimpleTag.java"/>
           <include name="HelloWorldSimpleTag.java"/>
         </fileset>
  -      <mapper type="glob" from="*.java" to="*.java.txt"/>
  -    </copy>
  +    </txt2html>
   
  -    <copy todir="${jsp-api.build}/examples/cal">
  +    <txt2html todir="${jsp-api.build}/examples/cal">
         <fileset dir="examples/WEB-INF/classes/cal">
           <include name="Entries.java"/>
           <include name="Entry.java"/>
           <include name="JspCalendar.java"/>
           <include name="TableBean.java"/>
         </fileset>
  -      <mapper type="glob" from="*.java" to="*.java.txt"/>
  -    </copy>
  +    </txt2html>
   
  -    <copy todir="${jsp-api.build}/examples/jsptoserv">
  +    <txt2html todir="${jsp-api.build}/examples/jsptoserv">
         <fileset dir="examples/WEB-INF/classes">
           <include name="servletToJsp.java"/>
         </fileset>
  -      <mapper type="glob" from="*.java" to="*.java.txt"/>
  -    </copy>
  +    </txt2html>
   
  -    <copy todir="${jsp-api.build}/examples/jsp2/el">
  +    <txt2html todir="${jsp-api.build}/examples/jsp2/el">
         <fileset dir="examples/WEB-INF/classes/jsp2/examples/el">
           <include name="Functions.java"/>
         </fileset>
  -      <mapper type="glob" from="*.java" to="*.java.txt"/>
  -    </copy>
  +    </txt2html>
   
  -    <copy todir="${jsp-api.build}/examples/jsp2/misc">
  +    <txt2html todir="${jsp-api.build}/examples/jsp2/misc">
         <fileset dir="examples/WEB-INF/classes/jsp2/examples/simpletag">
           <include name="EchoAttributesTag.java"/>
         </fileset>
  -      <mapper type="glob" from="*.java" to="*.java.txt"/>
  -    </copy>
  +    </txt2html>
   
  -    <copy todir="${jsp-api.build}/examples/jsp2/tagfiles">
  -      <fileset dir="examples/WEB-INF/tags"/>
  -      <mapper type="glob" from="*.tag" to="*.tag.txt"/>
  -    </copy>
  +    <txt2html todir="${jsp-api.build}/examples/jsp2/tagfiles">
  +      <fileset dir="examples/WEB-INF/tags">
  +        <include name="**/*.tag" />
  +      </fileset>
  +    </txt2html>
   
  -    <copy todir="${jsp-api.build}/examples">
  +    <txt2html todir="${jsp-api.build}/examples">
         <fileset dir="examples">
  +        <include name="**/*.jsp" />
  +        <include name="**/*.jspx" />
  +        <include name="**/*.jspf" />
           <exclude name="error/errorpge.jsp"/>
           <exclude name="forward/one.jsp"/>
           <exclude name="include/foo.jsp"/>
  @@ -189,18 +197,7 @@
           <exclude name="security/protected/login.jsp"/>
           <exclude name="source.jsp"/>
         </fileset>
  -      <mapper type="glob" from="*.jsp" to="*.jsp.txt"/>
  -    </copy>
  -
  -    <copy todir="${jsp-api.build}/examples">
  -      <fileset dir="examples"/>
  -      <mapper type="glob" from="*.jspx" to="*.jspx.txt"/>
  -    </copy>
  -    
  -    <copy todir="${jsp-api.build}/examples">
  -      <fileset dir="examples"/>
  -      <mapper type="glob" from="*.jspf" to="*.jspf.txt"/>
  -    </copy>
  +    </txt2html>
   
       <javac   srcdir="examples/WEB-INF/classes" 
                destdir="${jsp-api.build}/examples/WEB-INF/classes"
  
  
  
  1.3       +6 -6      jakarta-servletapi-5/jsr152/examples/cal/calendar.html
  
  Index: calendar.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/cal/calendar.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- calendar.html	21 Mar 2003 01:53:48 -0000	1.2
  +++ calendar.html	3 Oct 2003 20:18:06 -0000	1.3
  @@ -10,21 +10,21 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="login.html"><img src="../../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
  +<p><font color="#0000FF"><a href="login.html"><img src="../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
   
   <h2> Source Code for Calendar Example. <br>
  -<h3><a href="cal1.jsp.txt">cal1.jsp<font color="#0000FF"></a>
  +<h3><a href="cal1.jsp.html">cal1.jsp<font color="#0000FF"></a>
     </font> </h3>
  -<h3><a href="cal2.jsp.txt">cal2.jsp<font color="#0000FF"></a>
  +<h3><a href="cal2.jsp.html">cal2.jsp<font color="#0000FF"></a>
     </font> </h3>
   
   <br>
   <h2> Beans.
  -<h3><a href="TableBean.java.txt">TableBean<font color="#0000FF"></a>
  +<h3><a href="TableBean.java.html">TableBean<font color="#0000FF"></a>
     </font> </h3>
  -<h3><a href="Entries.java.txt">Entries<font color="#0000FF"></a>
  +<h3><a href="Entries.java.html">Entries<font color="#0000FF"></a>
     </font> </h3>
  -<h3><a href="Entry.java.txt">Entry<font color="#0000FF"></a>
  +<h3><a href="Entry.java.html">Entry<font color="#0000FF"></a>
     </font> </h3>
   
   </body>
  
  
  
  1.3       +2 -2      jakarta-servletapi-5/jsr152/examples/checkbox/cresult.html
  
  Index: cresult.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/checkbox/cresult.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- cresult.html	21 Mar 2003 01:53:48 -0000	1.2
  +++ cresult.html	3 Oct 2003 20:18:06 -0000	1.3
  @@ -10,9 +10,9 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="check.html"><img src="../../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
  +<p><font color="#0000FF"><a href="check.html"><img src="../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
   
  -<h3><a href="checkresult.jsp.txt">Source Code for Checkbox Example<font color="#0000FF"></a>
  +<h3><a href="checkresult.jsp.html">Source Code for Checkbox Example<font color="#0000FF"></a>
     </font> </h3>
   
   <h3><a href="CheckTest.html">Property Sheet for CheckTest
  
  
  
  1.3       +2 -2      jakarta-servletapi-5/jsr152/examples/colors/clr.html
  
  Index: clr.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/colors/clr.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- clr.html	21 Mar 2003 01:53:48 -0000	1.2
  +++ clr.html	3 Oct 2003 20:18:06 -0000	1.3
  @@ -10,9 +10,9 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="colors.html"><img src="../../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
  +<p><font color="#0000FF"><a href="colors.html"><img src="../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
   
  -<h3><a href="colrs.jsp.txt">Source Code for Color Example<font color="#0000FF"></a>
  +<h3><a href="colrs.jsp.html">Source Code for Color Example<font color="#0000FF"></a>
     </font> </h3>
   
   <h3><a href="ColorGameBean.html">Property Sheet for ColorGameBean
  
  
  
  1.3       +2 -2      jakarta-servletapi-5/jsr152/examples/dates/date.html
  
  Index: date.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/dates/date.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- date.html	21 Mar 2003 01:53:48 -0000	1.2
  +++ date.html	3 Oct 2003 20:18:06 -0000	1.3
  @@ -10,9 +10,9 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="date.jsp"><img src="../../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
  +<p><font color="#0000FF"><a href="date.jsp"><img src="../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
   
  -<h3><a href="date.jsp.txt">Source Code for Date Example<font color="#0000FF"></a>
  +<h3><a href="date.jsp.html">Source Code for Date Example<font color="#0000FF"></a>
     </font> </h3>
   
   </body>
  
  
  
  1.3       +2 -2      jakarta-servletapi-5/jsr152/examples/error/er.html
  
  Index: er.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/error/er.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- er.html	21 Mar 2003 01:53:48 -0000	1.2
  +++ er.html	3 Oct 2003 20:18:06 -0000	1.3
  @@ -10,9 +10,9 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="error.html"><img src="../../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
  +<p><font color="#0000FF"><a href="error.html"><img src="../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
   
  -<h3><a href="err.jsp.txt">Source Code for Error Example<font color="#0000FF"></a>
  +<h3><a href="err.jsp.html">Source Code for Error Example<font color="#0000FF"></a>
     </font> </h3>
   
   </body>
  
  
  
  1.3       +2 -2      jakarta-servletapi-5/jsr152/examples/forward/fwd.html
  
  Index: fwd.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/forward/fwd.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- fwd.html	21 Mar 2003 01:53:48 -0000	1.2
  +++ fwd.html	3 Oct 2003 20:18:06 -0000	1.3
  @@ -9,9 +9,9 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="forward.jsp"><img src="../../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
  +<p><font color="#0000FF"><a href="forward.jsp"><img src="../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
   
  -<h3><a href="forward.jsp.txt">Source Code for Forward Example<font color="#0000FF"></a>
  +<h3><a href="forward.jsp.html">Source Code for Forward Example<font color="#0000FF"></a>
     </font> </h3>
   
   </body>
  
  
  
  1.3       +2 -2      jakarta-servletapi-5/jsr152/examples/include/inc.html
  
  Index: inc.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/include/inc.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- inc.html	21 Mar 2003 01:53:48 -0000	1.2
  +++ inc.html	3 Oct 2003 20:18:06 -0000	1.3
  @@ -9,9 +9,9 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="include.jsp"><img src="../../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
  +<p><font color="#0000FF"><a href="include.jsp"><img src="../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
   
  -<h3><a href="include.jsp.txt">Source Code for Include Example<font color="#0000FF"></a>
  +<h3><a href="include.jsp.html">Source Code for Include Example<font color="#0000FF"></a>
     </font> </h3>
   
   </body>
  
  
  
  1.4       +1 -1      jakarta-servletapi-5/jsr152/examples/jsp2/el/basic-arithmetic.html
  
  Index: basic-arithmetic.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/jsp2/el/basic-arithmetic.html,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- basic-arithmetic.html	1 May 2003 22:39:57 -0000	1.3
  +++ basic-arithmetic.html	3 Oct 2003 20:18:06 -0000	1.4
  @@ -11,7 +11,7 @@
   <body bgcolor="#FFFFFF">
   <p><font color="#0000FF"><a href="basic-arithmetic.jsp"><img src="../../images/execute.gif" align="right" border="0"></a><a href="../../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
   
  -<h3><a href="basic-arithmetic.jsp.txt">Source Code for Basic Arithmetic Example<font color="#0000FF"></a>
  +<h3><a href="basic-arithmetic.jsp.html">Source Code for Basic Arithmetic Example<font color="#0000FF"></a>
     </font> </h3>
   
   </body>
  
  
  
  1.4       +1 -1      jakarta-servletapi-5/jsr152/examples/jsp2/el/basic-comparisons.html
  
  Index: basic-comparisons.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/jsp2/el/basic-comparisons.html,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- basic-comparisons.html	1 May 2003 22:39:57 -0000	1.3
  +++ basic-comparisons.html	3 Oct 2003 20:18:06 -0000	1.4
  @@ -11,7 +11,7 @@
   <body bgcolor="#FFFFFF">
   <p><font color="#0000FF"><a href="basic-comparisons.jsp"><img src="../../images/execute.gif" align="right" border="0"></a><a href="../../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
   
  -<h3><a href="basic-comparisons.jsp.txt">Source Code for Basic Comparisons Example<font color="#0000FF"></a>
  +<h3><a href="basic-comparisons.jsp.html">Source Code for Basic Comparisons Example<font color="#0000FF"></a>
     </font> </h3>
   
   </body>
  
  
  
  1.4       +2 -2      jakarta-servletapi-5/jsr152/examples/jsp2/el/functions.html
  
  Index: functions.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/jsp2/el/functions.html,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- functions.html	1 May 2003 22:39:57 -0000	1.3
  +++ functions.html	3 Oct 2003 20:18:06 -0000	1.4
  @@ -11,9 +11,9 @@
   <body bgcolor="#FFFFFF">
   <p><font color="#0000FF"><a href="functions.jsp?foo=JSP+2.0"><img src="../../images/execute.gif" align="right" border="0"></a><a href="../../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
   
  -<h3><a href="functions.jsp.txt">Source Code for functions.jsp<font color="#0000FF"></a>
  +<h3><a href="functions.jsp.html">Source Code for functions.jsp<font color="#0000FF"></a>
     </font> </h3>
  -<h3><a href="Functions.java.txt">Source Code for Functions.java<font color="#0000FF"></a>
  +<h3><a href="Functions.java.html">Source Code for Functions.java<font color="#0000FF"></a>
     </font> </h3>
   
   </body>
  
  
  
  1.4       +3 -2      jakarta-servletapi-5/jsr152/examples/jsp2/el/implicit-objects.html
  
  Index: implicit-objects.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/jsp2/el/implicit-objects.html,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- implicit-objects.html	1 May 2003 22:39:57 -0000	1.3
  +++ implicit-objects.html	3 Oct 2003 20:18:06 -0000	1.4
  @@ -9,9 +9,10 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="implicit-objects.jsp?foo=bar"><img src="../../images/execute.gif" align="right" border="0"></a><a href="../../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
  +<p><font color="#0000FF"><a href="implicit-objects.jsp?foo=bar"><img src="../../images/execute.gif" align="right" border="0"></a><a href="../../index.html">
  +<img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
   
  -<h3><a href="implicit-objects.jsp.txt">Source Code for Implicit Objects Example<font color="#0000FF"></a>
  +<h3><a href="implicit-objects.jsp.html">Source Code for Implicit Objects Example<font color="#0000FF"></a>
     </font> </h3>
   
   </body>
  
  
  
  1.3       +5 -4      jakarta-servletapi-5/jsr152/examples/jsp2/jspattribute/jspattribute.html
  
  Index: jspattribute.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/jsp2/jspattribute/jspattribute.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- jspattribute.html	21 Mar 2003 01:53:49 -0000	1.2
  +++ jspattribute.html	3 Oct 2003 20:18:06 -0000	1.3
  @@ -9,15 +9,16 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="jspattribute.jsp"><img src="../../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
  +<p><font color="#0000FF"><a href="jspattribute.jsp"><img src="../../images/execute.gif" align="right" border="0"></a>
  +<a href="../../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
   
  -<h3><a href="jspattribute.jsp.txt">Source Code for jspattribute.jsp<font color="#0000FF"></a>
  +<h3><a href="jspattribute.jsp.html">Source Code for jspattribute.jsp<font color="#0000FF"></a>
     </font> </h3>
   
  -<h3><a href="HelloWorldSimpleTag.java.txt">Source Code for HelloWorldSimpleTag.java<font color="#0000FF"></a>
  +<h3><a href="HelloWorldSimpleTag.java.html">Source Code for HelloWorldSimpleTag.java<font color="#0000FF"></a>
     </font> </h3>
   
  -<h3><a href="FooBean.java.txt">Source Code for FooBean.java<font color="#0000FF"></a>
  +<h3><a href="FooBean.java.html">Source Code for FooBean.java<font color="#0000FF"></a>
     </font> </h3>
   
   </body>
  
  
  
  1.3       +5 -4      jakarta-servletapi-5/jsr152/examples/jsp2/jspattribute/shuffle.html
  
  Index: shuffle.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/jsp2/jspattribute/shuffle.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- shuffle.html	21 Mar 2003 01:53:49 -0000	1.2
  +++ shuffle.html	3 Oct 2003 20:18:06 -0000	1.3
  @@ -9,15 +9,16 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="shuffle.jsp"><img src="../../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
  +<p><font color="#0000FF"><a href="shuffle.jsp"><img src="../../images/execute.gif" align="right" border="0"></a>
  +<a href="../../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
   
  -<h3><a href="shuffle.jsp.txt">Source Code for shuffle.jsp<font color="#0000FF"></a>
  +<h3><a href="shuffle.jsp.html">Source Code for shuffle.jsp<font color="#0000FF"></a>
     </font> </h3>
   
  -<h3><a href="ShuffleSimpleTag.java.txt">Source Code for ShuffleSimpleTag.java<font color="#0000FF"></a>
  +<h3><a href="ShuffleSimpleTag.java.html">Source Code for ShuffleSimpleTag.java<font color="#0000FF"></a>
     </font> </h3>
   
  -<h3><a href="TileSimpleTag.java.txt">Source Code for TileSimpleTag.java<font color="#0000FF"></a>
  +<h3><a href="TileSimpleTag.java.html">Source Code for TileSimpleTag.java<font color="#0000FF"></a>
     </font> </h3>
   
   </body>
  
  
  
  1.2       +1 -1      jakarta-servletapi-5/jsr152/examples/jsp2/jspx/basic.html
  
  Index: basic.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/jsp2/jspx/basic.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- basic.html	1 May 2003 22:39:59 -0000	1.1
  +++ basic.html	3 Oct 2003 20:18:06 -0000	1.2
  @@ -12,7 +12,7 @@
   <p><font color="#0000FF"><a href="basic.jspx"><img src="../../images/execute.gif" align="right" border="0"></a><a
   href="../../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
   
  -<h3><a href="basic.jspx.txt">Source Code for XHTML Basic Example<font color="#0000FF"></a>
  +<h3><a href="basic.jspx.html">Source Code for XHTML Basic Example<font color="#0000FF"></a>
     </font> </h3>
   
   </body>
  
  
  
  1.2       +1 -1      jakarta-servletapi-5/jsr152/examples/jsp2/jspx/textRotate.html
  
  Index: textRotate.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/jsp2/jspx/textRotate.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- textRotate.html	1 May 2003 22:39:59 -0000	1.1
  +++ textRotate.html	3 Oct 2003 20:18:06 -0000	1.2
  @@ -12,7 +12,7 @@
   <p><font color="#0000FF"><a href="textRotate.jspx"><img src="../../images/execute.gif" align="right" border="0"></a><a
   href="../../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
   
  -<h3><a href="textRotate.jspx.txt">Source Code for SVG (Scalable Vector Graphics)
  +<h3><a href="textRotate.jspx.html">Source Code for SVG (Scalable Vector Graphics)
   Example<font color="#0000FF"></a>
     </font> </h3>
   
  
  
  
  1.3       +5 -4      jakarta-servletapi-5/jsr152/examples/jsp2/misc/config.html
  
  Index: config.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/jsp2/misc/config.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- config.html	21 Mar 2003 01:53:49 -0000	1.2
  +++ config.html	3 Oct 2003 20:18:06 -0000	1.3
  @@ -9,13 +9,14 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="config.jsp"><img src="../../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
  +<p><font color="#0000FF"><a href="config.jsp"><img src="../../images/execute.gif" align="right" border="0"></a>
  +<a href="../../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
   
  -<h3><a href="config.jsp.txt">Source Code for config.jsp<font color="#0000FF"></a>
  +<h3><a href="config.jsp.html">Source Code for config.jsp<font color="#0000FF"></a>
     </font> </h3>
  -<h3><a href="prelude.jspf.txt">Source Code for prelude.jspf<font color="#0000FF"></a>
  +<h3><a href="prelude.jspf.html">Source Code for prelude.jspf<font color="#0000FF"></a>
     </font> </h3>
  -<h3><a href="coda.jspf.txt">Source Code for coda.jspf<font color="#0000FF"></a>
  +<h3><a href="coda.jspf.html">Source Code for coda.jspf<font color="#0000FF"></a>
     </font> </h3>
   
   </body>
  
  
  
  1.3       +4 -3      jakarta-servletapi-5/jsr152/examples/jsp2/misc/dynamicattrs.html
  
  Index: dynamicattrs.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/jsp2/misc/dynamicattrs.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- dynamicattrs.html	21 Mar 2003 01:53:49 -0000	1.2
  +++ dynamicattrs.html	3 Oct 2003 20:18:06 -0000	1.3
  @@ -9,11 +9,12 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="dynamicattrs.jsp"><img src="../../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
  +<p><font color="#0000FF"><a href="dynamicattrs.jsp"><img src="../../images/execute.gif" align="right" border="0"></a>
  +<a href="../../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
   
  -<h3><a href="dynamicattrs.jsp.txt">Source Code for dynamicattrs.jsp<font color="#0000FF"></a>
  +<h3><a href="dynamicattrs.jsp.html">Source Code for dynamicattrs.jsp<font color="#0000FF"></a>
     </font> </h3>
  -<h3><a href="EchoAttributesTag.java.txt">Source Code for EchoAttributesTag.java<font color="#0000FF"></a>
  +<h3><a href="EchoAttributesTag.java.html">Source Code for EchoAttributesTag.java<font color="#0000FF"></a>
     </font> </h3>
   
   </body>
  
  
  
  1.3       +6 -5      jakarta-servletapi-5/jsr152/examples/jsp2/simpletag/book.html
  
  Index: book.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/jsp2/simpletag/book.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- book.html	21 Mar 2003 01:53:49 -0000	1.2
  +++ book.html	3 Oct 2003 20:18:06 -0000	1.3
  @@ -9,15 +9,16 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="book.jsp"><img src="../../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
  +<p><font color="#0000FF"><a href="book.jsp"><img src="../../images/execute.gif" align="right" border="0"></a>
  +<a href="../../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
   
  -<h3><a href="book.jsp.txt">Source Code for the Book Example JSP<font color="#0000FF"></a>
  +<h3><a href="book.jsp.html">Source Code for the Book Example JSP<font color="#0000FF"></a>
     </font> </h3>
  -<h3><a href="FindBookSimpleTag.java.txt">Source Code for the FindBook SimpleTag Handler<font color="#0000FF"></a>
  +<h3><a href="FindBookSimpleTag.java.html">Source Code for the FindBook SimpleTag Handler<font color="#0000FF"></a>
     </font> </h3>
  -<h3><a href="BookBean.java.txt">Source Code for BookBean<font color="#0000FF"></a>
  +<h3><a href="BookBean.java.html">Source Code for BookBean<font color="#0000FF"></a>
     </font> </h3>
  -<h3><a href="Functions.java.txt">Source Code for the EL Functions<font color="#0000FF"></a>
  +<h3><a href="Functions.java.html">Source Code for the EL Functions<font color="#0000FF"></a>
     </font> </h3>
   
   </body>
  
  
  
  1.3       +4 -3      jakarta-servletapi-5/jsr152/examples/jsp2/simpletag/hello.html
  
  Index: hello.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/jsp2/simpletag/hello.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- hello.html	21 Mar 2003 01:53:49 -0000	1.2
  +++ hello.html	3 Oct 2003 20:18:06 -0000	1.3
  @@ -9,11 +9,12 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="hello.jsp"><img src="../../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
  +<p><font color="#0000FF"><a href="hello.jsp"><img src="../../images/execute.gif" align="right" border="0"></a>
  +<a href="../../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
   
  -<h3><a href="hello.jsp.txt">Source Code for the Hello World Tag Example JSP<font color="#0000FF"></a>
  +<h3><a href="hello.jsp.html">Source Code for the Hello World Tag Example JSP<font color="#0000FF"></a>
     </font> </h3>
  -<h3><a href="HelloWorldSimpleTag.java.txt">Source Code for the Hello World SimpleTag Handler<font color="#0000FF"></a>
  +<h3><a href="HelloWorldSimpleTag.java.html">Source Code for the Hello World SimpleTag Handler<font color="#0000FF"></a>
     </font> </h3>
   
   </body>
  
  
  
  1.3       +4 -3      jakarta-servletapi-5/jsr152/examples/jsp2/simpletag/repeat.html
  
  Index: repeat.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/jsp2/simpletag/repeat.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- repeat.html	21 Mar 2003 01:53:49 -0000	1.2
  +++ repeat.html	3 Oct 2003 20:18:06 -0000	1.3
  @@ -9,11 +9,12 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="repeat.jsp"><img src="../../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
  +<p><font color="#0000FF"><a href="repeat.jsp"><img src="../../images/execute.gif" align="right" border="0"></a>
  +<a href="../../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
   
  -<h3><a href="repeat.jsp.txt">Source Code for the Repeat Tag Example JSP<font color="#0000FF"></a>
  +<h3><a href="repeat.jsp.html">Source Code for the Repeat Tag Example JSP<font color="#0000FF"></a>
     </font> </h3>
  -<h3><a href="RepeatSimpleTag.java.txt">Source Code for the Repeat SimpleTag Handler<font color="#0000FF"></a>
  +<h3><a href="RepeatSimpleTag.java.html">Source Code for the Repeat SimpleTag Handler<font color="#0000FF"></a>
     </font> </h3>
   
   </body>
  
  
  
  1.3       +4 -3      jakarta-servletapi-5/jsr152/examples/jsp2/tagfiles/hello.html
  
  Index: hello.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/jsp2/tagfiles/hello.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- hello.html	21 Mar 2003 01:53:49 -0000	1.2
  +++ hello.html	3 Oct 2003 20:18:06 -0000	1.3
  @@ -9,11 +9,12 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="hello.jsp"><img src="../../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
  +<p><font color="#0000FF"><a href="hello.jsp"><img src="../../images/execute.gif" align="right" border="0"></a>
  +<a href="../../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
   
  -<h3><a href="hello.jsp.txt">Source Code for hello.jsp<font color="#0000FF"></a>
  +<h3><a href="hello.jsp.html">Source Code for hello.jsp<font color="#0000FF"></a>
     </font> </h3>
  -<h3><a href="helloWorld.tag.txt">Source Code for helloWorld.tag<font color="#0000FF"></a>
  +<h3><a href="helloWorld.tag.html">Source Code for helloWorld.tag<font color="#0000FF"></a>
     </font> </h3>
   
   </body>
  
  
  
  1.3       +4 -3      jakarta-servletapi-5/jsr152/examples/jsp2/tagfiles/panel.html
  
  Index: panel.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/jsp2/tagfiles/panel.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- panel.html	21 Mar 2003 01:53:49 -0000	1.2
  +++ panel.html	3 Oct 2003 20:18:06 -0000	1.3
  @@ -9,11 +9,12 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="panel.jsp"><img src="../../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
  +<p><font color="#0000FF"><a href="panel.jsp"><img src="../../images/execute.gif" align="right" border="0"></a>
  +<a href="../../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
   
  -<h3><a href="panel.jsp.txt">Source Code for panel.jsp<font color="#0000FF"></a>
  +<h3><a href="panel.jsp.html">Source Code for panel.jsp<font color="#0000FF"></a>
     </font> </h3>
  -<h3><a href="panel.tag.txt">Source Code for panel.tag<font color="#0000FF"></a>
  +<h3><a href="panel.tag.html">Source Code for panel.tag<font color="#0000FF"></a>
     </font> </h3>
   
   </body>
  
  
  
  1.3       +4 -3      jakarta-servletapi-5/jsr152/examples/jsp2/tagfiles/products.html
  
  Index: products.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/jsp2/tagfiles/products.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- products.html	21 Mar 2003 01:53:49 -0000	1.2
  +++ products.html	3 Oct 2003 20:18:06 -0000	1.3
  @@ -9,11 +9,12 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="products.jsp"><img src="../../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
  +<p><font color="#0000FF"><a href="products.jsp"><img src="../../images/execute.gif" align="right" border="0"></a>
  +<a href="../../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
   
  -<h3><a href="products.jsp.txt">Source Code for products.jsp<font color="#0000FF"></a>
  +<h3><a href="products.jsp.html">Source Code for products.jsp<font color="#0000FF"></a>
     </font> </h3>
  -<h3><a href="displayProducts.tag.txt">Source Code for displayProducts.tag<font color="#0000FF"></a>
  +<h3><a href="displayProducts.tag.html">Source Code for displayProducts.tag<font color="#0000FF"></a>
     </font> </h3>
   
   </body>
  
  
  
  1.3       +3 -3      jakarta-servletapi-5/jsr152/examples/jsptoserv/jts.html
  
  Index: jts.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/jsptoserv/jts.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- jts.html	21 Mar 2003 01:53:49 -0000	1.2
  +++ jts.html	3 Oct 2003 20:18:07 -0000	1.3
  @@ -10,12 +10,12 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="jsptoservlet.jsp"><img src="../../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
  +<p><font color="#0000FF"><a href="jsptoservlet.jsp"><img src="../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
   
  -<h3><a href="jsptoservlet.jsp.txt">Source Code for JSP calling servlet <font color="#0000FF"></a>
  +<h3><a href="jsptoservlet.jsp.html">Source Code for JSP calling servlet <font color="#0000FF"></a>
     </font> </h3>
   
  -<h3><a href="servletToJsp.java.txt">Source Code for Servlet calling JSP 
  +<h3><a href="servletToJsp.java.html">Source Code for Servlet calling JSP 
   <font color="#0000FF"></a> </font> </h3>
   
   </body>
  
  
  
  1.3       +2 -2      jakarta-servletapi-5/jsr152/examples/num/numguess.html
  
  Index: numguess.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/num/numguess.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- numguess.html	21 Mar 2003 01:53:49 -0000	1.2
  +++ numguess.html	3 Oct 2003 20:18:07 -0000	1.3
  @@ -13,9 +13,9 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="numguess.jsp"><img src="../../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
  +<p><font color="#0000FF"><a href="numguess.jsp"><img src="../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
   
  -<h3><a href="numguess.jsp.txt">Source Code for Numguess Example<font color="#0000FF"></a>
  +<h3><a href="numguess.jsp.html">Source Code for Numguess Example<font color="#0000FF"></a>
     </font> </h3>
   
   </body>
  
  
  
  1.3       +2 -2      jakarta-servletapi-5/jsr152/examples/plugin/plugin.html
  
  Index: plugin.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/plugin/plugin.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- plugin.html	21 Mar 2003 01:53:49 -0000	1.2
  +++ plugin.html	3 Oct 2003 20:18:07 -0000	1.3
  @@ -9,9 +9,9 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="plugin.jsp"><img src="../../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
  +<p><font color="#0000FF"><a href="plugin.jsp"><img src="../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
   
  -<h3><a href="plugin.jsp.txt">Source Code for Plugin Example<font color="#0000FF"></a>
  +<h3><a href="plugin.jsp.html">Source Code for Plugin Example<font color="#0000FF"></a>
     </font> </h3>
   
   </body>
  
  
  
  1.3       +1 -1      jakarta-servletapi-5/jsr152/examples/plugin/plugin.jsp
  
  Index: plugin.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/plugin/plugin.jsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- plugin.jsp	7 Sep 2002 00:48:01 -0000	1.2
  +++ plugin.jsp	3 Oct 2003 20:18:07 -0000	1.3
  @@ -6,7 +6,7 @@
   <title> Plugin example </title>
   <body bgcolor="white">
   <h3> Current time is : </h3>
  -<jsp:plugin type="applet" code="Clock2.class" codebase="/jsp-examples/plugin/applet" jreversion="1.2" width="160" height="150" >
  +<jsp:plugin type="applet" code="Clock2.class" codebase="applet" jreversion="1.2" width="160" height="150" >
       <jsp:fallback>
           Plugin tag OBJECT or EMBED not supported by browser.
       </jsp:fallback>
  
  
  
  1.3       +2 -2      jakarta-servletapi-5/jsr152/examples/sessions/crt.html
  
  Index: crt.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/sessions/crt.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- crt.html	21 Mar 2003 01:53:49 -0000	1.2
  +++ crt.html	3 Oct 2003 20:18:07 -0000	1.3
  @@ -10,9 +10,9 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="carts.html"><img src="../../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
  +<p><font color="#0000FF"><a href="carts.html"><img src="../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
   
  -<h3><a href="carts.jsp.txt">Source Code for Cart Example<font color="#0000FF"></a>
  +<h3><a href="carts.jsp.html">Source Code for Cart Example<font color="#0000FF"></a>
     </font> </h3>
   
   <h3><a href="DummyCart.html">Property Sheet for DummyCart
  
  
  
  1.3       +2 -2      jakarta-servletapi-5/jsr152/examples/simpletag/foo.html
  
  Index: foo.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/simpletag/foo.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- foo.html	21 Mar 2003 01:53:49 -0000	1.2
  +++ foo.html	3 Oct 2003 20:18:07 -0000	1.3
  @@ -9,9 +9,9 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="foo.jsp"><img src="../../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
  +<p><font color="#0000FF"><a href="foo.jsp"><img src="../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
   
  -<h3><a href="foo.jsp.txt">Source Code for the Simple Tag Example<font color="#0000FF"></a>
  +<h3><a href="foo.jsp.html">Source Code for the Simple Tag Example<font color="#0000FF"></a>
     </font> </h3>
   
   </body>
  
  
  
  1.3       +2 -2      jakarta-servletapi-5/jsr152/examples/snp/snoop.html
  
  Index: snoop.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/snp/snoop.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- snoop.html	21 Mar 2003 01:53:49 -0000	1.2
  +++ snoop.html	3 Oct 2003 20:18:07 -0000	1.3
  @@ -10,9 +10,9 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="snoop.jsp"><img src="../../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
  +<p><font color="#0000FF"><a href="snoop.jsp"><img src="../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
   
  -<h3><a href="snoop.jsp.txt">Source Code for Request Parameters Example<font color="#0000FF"></a>
  +<h3><a href="snoop.jsp.html">Source Code for Request Parameters Example<font color="#0000FF"></a>
     </font> </h3>
   
   </body>
  
  
  
  1.3       +2 -2      jakarta-servletapi-5/jsr152/examples/xml/xml.html
  
  Index: xml.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/xml/xml.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- xml.html	21 Mar 2003 01:53:49 -0000	1.2
  +++ xml.html	3 Oct 2003 20:18:07 -0000	1.3
  @@ -10,9 +10,9 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="xml.jsp"><img src="../../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
  +<p><font color="#0000FF"><a href="xml.jsp"><img src="../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
   
  -<h3><a href="xml.jsp.txt">Source Code for XML syntax Example<font color="#0000FF"></a>
  +<h3><a href="xml.jsp.html">Source Code for XML syntax Example<font color="#0000FF"></a>
     </font> </h3>
   
   </body>
  
  
  
  1.1                  jakarta-servletapi-5/jsr152/src/ant/task/Txt2Html.java
  
  Index: Txt2Html.java
  ===================================================================
  /**
   * Copyright (c) 1999 The Apache Software Foundation.  All rights 
   * reserved.
   */
  
  package task;
  
  import java.io.BufferedReader;
  import java.io.File;
  import java.io.FileReader;
  import java.io.FileWriter;
  import java.io.IOException;
  import java.io.PrintWriter;
  import java.util.Iterator;
  import java.util.LinkedList;
  import java.util.List;
  import org.apache.tools.ant.BuildException;
  import org.apache.tools.ant.DirectoryScanner;
  import org.apache.tools.ant.Project;
  import org.apache.tools.ant.Task;
  import org.apache.tools.ant.types.FileSet;
  
  /**
   * Ant task to convert a given set of files from Text to HTML.
   * Inserts an HTML header including pre tags and replaces special characters
   * with their HTML escaped equivalents.
   *
   * <p>This task is currently used by the ant script to build our examples</p>
   *
   * @author Mark Roth
   */
  public class Txt2Html 
      extends Task 
  {
      
      /** The directory to contain the resulting files */
      private File todir;
      
      /** The file to be converted into HTML */
      private List filesets = new LinkedList();
      
      /**
       * Sets the directory to contain the resulting files
       *
       * @param todir The directory
       */
      public void setTodir( File todir ) {
          this.todir = todir;
      }
      
      /**
       * Sets the files to be converted into HTML
       *
       * @param fileset The fileset to be converted.
       */
      public void addFileset( FileSet fs ) {
          filesets.add( fs );
      }
      
      /**
       * Perform the conversion
       *
       * @param BuildException Thrown if an error occurs during execution of
       *    this task.
       */
      public void execute() 
          throws BuildException 
      {
          int count = 0;
          
          // Step through each file and convert.
          Iterator iter = filesets.iterator();
          while( iter.hasNext() ) {
              FileSet fs = (FileSet)iter.next();
              DirectoryScanner ds = fs.getDirectoryScanner( project );
              File basedir = ds.getBasedir();
              String[] files = ds.getIncludedFiles();
              for( int i = 0; i < files.length; i++ ) {
                  File from = new File( basedir, files[i] );
                  File to = new File( todir, files[i] + ".html" );
                  if( !to.exists() || 
                      (from.lastModified() > to.lastModified()) ) 
                  {
                      log( "Converting file '" + from.getAbsolutePath() + 
                          "' to '" + to.getAbsolutePath(), Project.MSG_VERBOSE );
                      try {
                          convert( from, to );
                      }
                      catch( IOException e ) {
                          throw new BuildException( "Could not convert '" + 
                              from.getAbsolutePath() + "' to '" + 
                              to.getAbsolutePath() + "'", e );
                      }
                      count++;
                  }
              }
              if( count > 0 ) {
                  log( "Converted " + count + " file" + (count > 1 ? "s" : "") + 
                      " to " + todir.getAbsolutePath() );
              }
          }
      }
      
      /**
       * Perform the actual copy and conversion
       *
       * @param from The input file
       * @param to The output file
       * @throws IOException Thrown if an error occurs during the conversion
       */
      private void convert( File from, File to )
          throws IOException
      {
          // Open files:
          BufferedReader in = new BufferedReader( new FileReader( from ) );
          PrintWriter out = new PrintWriter( new FileWriter( to ) );
          
          // Output header:
          out.println( "<html><body><pre>" );
          
          // Convert, line-by-line:
          String line;
          while( (line = in.readLine()) != null ) {
              StringBuffer result = new StringBuffer();
              int len = line.length();
              for( int i = 0; i < len; i++ ) {
                  char c = line.charAt( i );
                  switch( c ) {
                      case '&':
                          result.append( "&amp;" );
                          break;
                      case '<':
                          result.append( "&lt;" );
                          break;
                      default:
                          result.append( c );
                  }
              }
              out.println( result.toString() );
          }
          
          // Output footer:
          out.println( "</pre></body></html>" );
          
          // Close streams:
          out.close();
          in.close();
      }
      
  }
  
  
  
  
  

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


Mime
View raw message