tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-servletapi-5/jsr154/examples/WEB-INF/classes CookieExample.java HelloWorldExample.java RequestHeaderExample.java RequestInfoExample.java RequestParamExample.java SessionExample.java
Date Tue, 29 Oct 2002 17:42:58 GMT
remm        2002/10/29 09:42:58

  Modified:    jsr152/examples index.html
               jsr152/examples/WEB-INF web.xml
               jsr152/examples/jsptoserv jsptoservlet.jsp
               jsr154/examples cookies.html helloworld.html index.html
                        reqheaders.html reqinfo.html reqparams.html
                        sessions.html
               jsr154/examples/WEB-INF web.xml
               jsr154/examples/WEB-INF/classes CookieExample.java
                        HelloWorldExample.java RequestHeaderExample.java
                        RequestInfoExample.java RequestParamExample.java
                        SessionExample.java
  Removed:     jsr152/examples/WEB-INF/classes CookieExample.java
                        HelloWorldExample.java LocalStrings.properties
                        LocalStrings_en.properties
                        LocalStrings_es.properties
                        LocalStrings_fr.properties
                        RequestHeaderExample.java RequestInfoExample.java
                        RequestParamExample.java SendMailServlet.java
                        SessionExample.java
               jsr152/examples/mail sendmail.html sendmail.jsp sendmail.txt
  Log:
  - Fix most problems with the examples webapps, which should now be Tomcat
    dependency free (ie, no use of the invoker).
  
  Revision  Changes    Path
  1.3       +0 -7      jakarta-servletapi-5/jsr152/examples/index.html
  
  Index: index.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/index.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- index.html	7 Sep 2002 00:47:58 -0000	1.2
  +++ index.html	29 Oct 2002 17:42:56 -0000	1.3
  @@ -282,13 +282,6 @@
   </tr>
   
   <tr valign=TOP>
  -<td>Send mail example</td>
  -<td valign=TOP width="30%"><a href="mail/sendmail.jsp"><img src="images/execute.gif"
hspace=4 border=0  align=top></a><a href="mail/sendmail.jsp">Execute</a></td>
  -
  -<td width="30%"><a href="mail/sendmail.html"><img SRC="images/code.gif"
HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="mail/sendmail.html">Source</a></td>
  -</tr>
  -
  -<tr valign=TOP>
   <td>XML syntax example</td>
   <td valign=TOP width="30%"><a href="xml/xml.jsp"><img src="images/execute.gif"
hspace=4 border=0  align=top></a><a href="xml/xml.jsp">Execute</a></td>
   
  
  
  
  1.5       +2 -50     jakarta-servletapi-5/jsr152/examples/WEB-INF/web.xml
  
  Index: web.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/WEB-INF/web.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- web.xml	9 Oct 2002 21:31:24 -0000	1.4
  +++ web.xml	29 Oct 2002 17:42:57 -0000	1.5
  @@ -51,17 +51,6 @@
           </init-param>
       </filter>
   
  -    <!-- Define filter mappings for the defined filters -->
  -    <filter-mapping>
  -        <filter-name>Servlet Mapped Filter</filter-name>
  -	<servlet-name>invoker</servlet-name>
  -    </filter-mapping>
  -    <filter-mapping>
  -        <filter-name>Path Mapped Filter</filter-name>
  -	<url-pattern>/servlet/*</url-pattern>
  -    </filter-mapping>
  -
  -
   <!-- Example filter mapping to apply the "Set Character Encoding" filter
        to *all* requests processed by this web application -->
   <!--
  @@ -96,30 +85,6 @@
       <!-- Define servlets that are included in the example application -->
   
       <servlet>
  -        <servlet-name>SendMailServlet</servlet-name>
  -        <servlet-class>SendMailServlet</servlet-class>
  -    </servlet>
  -
  -    <servlet>
  -        <servlet-name>
  -            snoop
  -        </servlet-name>
  -        <servlet-class>
  -            SnoopServlet
  -        </servlet-class>
  -<!--
  -        <init-param>
  -            <param-name>foo</param-name>
  -            <param-value>bar</param-value>
  -        </init-param>
  --->
  -        <run-as>
  -            <description>Security role for anonymous access</description>
  -            <role-name>tomcat</role-name>
  -        </run-as>
  -    </servlet>
  -
  -    <servlet>
         <servlet-name>
             servletToJsp
         </servlet-name>
  @@ -127,14 +92,14 @@
             servletToJsp
         </servlet-class>
       </servlet>
  -        <servlet>
  +
  +    <servlet>
           <servlet-name>
               CompressionFilterTestServlet
           </servlet-name>
           <servlet-class>
               compressionFilters.CompressionFilterTestServlet
           </servlet-class>
  -
       </servlet>
   
       <servlet-mapping>
  @@ -146,19 +111,6 @@
           </url-pattern>
       </servlet-mapping>
   
  -    <servlet-mapping>
  -        <servlet-name>SendMailServlet</servlet-name>
  -        <url-pattern>/SendMailServlet</url-pattern>
  -    </servlet-mapping>
  -
  -    <servlet-mapping>
  -        <servlet-name>
  -            snoop
  -        </servlet-name>
  -        <url-pattern>
  -            /snoop
  -        </url-pattern>
  -    </servlet-mapping>
       <servlet-mapping>
           <servlet-name>
               servletToJsp
  
  
  
  1.2       +1 -1      jakarta-servletapi-5/jsr152/examples/jsptoserv/jsptoservlet.jsp
  
  Index: jsptoservlet.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/jsptoserv/jsptoservlet.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- jsptoservlet.jsp	27 Aug 2002 13:16:51 -0000	1.1
  +++ jsptoservlet.jsp	29 Oct 2002 17:42:57 -0000	1.2
  @@ -6,6 +6,6 @@
   <body bgcolor="white">
   
   <!-- Forward to a servlet -->
  -<jsp:forward page="/servlet/servletToJsp" />
  +<jsp:forward page="/servletToJsp" />
   
   </html>
  
  
  
  1.2       +1 -1      jakarta-servletapi-5/jsr154/examples/cookies.html
  
  Index: cookies.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr154/examples/cookies.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- cookies.html	27 Aug 2002 13:19:47 -0000	1.1
  +++ cookies.html	29 Oct 2002 17:42:57 -0000	1.2
  @@ -5,7 +5,7 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="../servlet/CookieExample"><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="servlet/CookieExample"><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>Source Code for Cookie Example<font color="#0000FF"><br>
     </font> </h3>
   <font color="#0000FF"></font> 
  
  
  
  1.2       +1 -1      jakarta-servletapi-5/jsr154/examples/helloworld.html
  
  Index: helloworld.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr154/examples/helloworld.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- helloworld.html	27 Aug 2002 13:19:47 -0000	1.1
  +++ helloworld.html	29 Oct 2002 17:42:57 -0000	1.2
  @@ -5,7 +5,7 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="../servlet/HelloWorldExample"><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="servlet/HelloWorldExample"><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>Source Code for HelloWorld Example<font color="#0000FF"><br>
     </font> </h3>
   <font color="#0000FF"></font>
  
  
  
  1.3       +6 -6      jakarta-servletapi-5/jsr154/examples/index.html
  
  Index: index.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr154/examples/index.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- index.html	2 Sep 2002 13:16:42 -0000	1.2
  +++ index.html	29 Oct 2002 17:42:57 -0000	1.3
  @@ -51,7 +51,7 @@
   <tr VALIGN=TOP>
   <td>Hello World</td>
   
  -<td VALIGN=TOP WIDTH="30%"><a href="../servlet/HelloWorldExample"><img SRC="images/execute.gif"
HSPACE=4 BORDER=0  align=TOP></a><a href="../servlet/HelloWorldExample">Execute</a></td>
  +<td VALIGN=TOP WIDTH="30%"><a href="servlet/HelloWorldExample"><img SRC="images/execute.gif"
HSPACE=4 BORDER=0  align=TOP></a><a href="servlet/HelloWorldExample">Execute</a></td>
   
   <td WIDTH="30%"><a href="helloworld.html"><img SRC="images/code.gif" HSPACE=4
BORDER=0 height=24 width=24 align=TOP></a><a href="helloworld.html">Source</a></td>
   </tr>
  @@ -59,7 +59,7 @@
   <tr VALIGN=TOP>
   <td>Request Info</td>
   
  -<td WIDTH="30%"><a href="../servlet/RequestInfoExample"><img SRC="images/execute.gif"
HSPACE=4 BORDER=0  align=TOP></a><a href="../servlet/RequestInfoExample">Execute</a></td>
  +<td WIDTH="30%"><a href="servlet/RequestInfoExample"><img SRC="images/execute.gif"
HSPACE=4 BORDER=0  align=TOP></a><a href="servlet/RequestInfoExample">Execute</a></td>
   
   <td WIDTH="30%"><a href="reqinfo.html"><img SRC="images/code.gif" HSPACE=4
BORDER=0 height=24 width=24 align=TOP></a><a href="reqinfo.html">Source</a></td>
   </tr>
  @@ -67,7 +67,7 @@
   <tr VALIGN=TOP>
   <td>Request Headers</td>
   
  -<td WIDTH="30%"><a href="../servlet/RequestHeaderExample"><img SRC="images/execute.gif"
HSPACE=4 BORDER=0  align=TOP></a><a href="../servlet/RequestHeaderExample">Execute</a></td>
  +<td WIDTH="30%"><a href="servlet/RequestHeaderExample"><img SRC="images/execute.gif"
HSPACE=4 BORDER=0  align=TOP></a><a href="servlet/RequestHeaderExample">Execute</a></td>
   
   <td WIDTH="30%"><a href="reqheaders.html"><img SRC="images/code.gif" HSPACE=4
BORDER=0 height=24 width=24 align=TOP></a><a href="reqheaders.html">Source</a></td>
   </tr>
  @@ -75,7 +75,7 @@
   <tr VALIGN=TOP>
   <td>Request Parameters</td>
   
  -<td WIDTH="30%"><a href="../servlet/RequestParamExample"><img SRC="images/execute.gif"
HSPACE=4 BORDER=0  align=TOP></a><a href="../servlet/RequestParamExample">Execute</a></td>
  +<td WIDTH="30%"><a href="servlet/RequestParamExample"><img SRC="images/execute.gif"
HSPACE=4 BORDER=0  align=TOP></a><a href="servlet/RequestParamExample">Execute</a></td>
   
   <td WIDTH="30%"><a href="reqparams.html"><img SRC="images/code.gif" HSPACE=4
BORDER=0 height=24 width=24 align=TOP></a><a href="reqparams.html">Source</a></td>
   </tr>
  @@ -83,7 +83,7 @@
   <tr VALIGN=TOP>
   <td>Cookies</td>
   
  -<td WIDTH="30%"><a href="../servlet/CookieExample"><img SRC="images/execute.gif"
HSPACE=4 BORDER=0  align=TOP></a><a href="../servlet/CookieExample">Execute</a></td>
  +<td WIDTH="30%"><a href="servlet/CookieExample"><img SRC="images/execute.gif"
HSPACE=4 BORDER=0  align=TOP></a><a href="servlet/CookieExample">Execute</a></td>
   
   <td WIDTH="30%"><a href="cookies.html"><img SRC="images/code.gif" HSPACE=4
BORDER=0 height=24 width=24 align=TOP></a><a href="cookies.html">Source</a></td>
   </tr>
  @@ -91,7 +91,7 @@
   <tr VALIGN=TOP>
   <td>Sessions</td>
   
  -<td WIDTH="30%"><a href="../servlet/SessionExample"><img SRC="images/execute.gif"
HSPACE=4 BORDER=0  align=TOP></a><a href="../servlet/SessionExample">Execute</a></td>
  +<td WIDTH="30%"><a href="servlet/SessionExample"><img SRC="images/execute.gif"
HSPACE=4 BORDER=0  align=TOP></a><a href="servlet/SessionExample">Execute</a></td>
   
   <td WIDTH="30%"><a href="sessions.html"><img SRC="images/code.gif" HSPACE=4
BORDER=0 height=24 width=24 align=TOP></a><a href="sessions.html">Source</a></td>
   </tr>
  
  
  
  1.2       +1 -1      jakarta-servletapi-5/jsr154/examples/reqheaders.html
  
  Index: reqheaders.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr154/examples/reqheaders.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- reqheaders.html	27 Aug 2002 13:19:47 -0000	1.1
  +++ reqheaders.html	29 Oct 2002 17:42:57 -0000	1.2
  @@ -5,7 +5,7 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="../servlet/RequestHeaderExample"><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="servlet/RequestHeaderExample"><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>Source Code for RequestHeader Example<font color="#0000FF"><br>
     </font> </h3>
   <font color="#0000FF"></font>
  
  
  
  1.2       +1 -1      jakarta-servletapi-5/jsr154/examples/reqinfo.html
  
  Index: reqinfo.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr154/examples/reqinfo.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- reqinfo.html	27 Aug 2002 13:19:47 -0000	1.1
  +++ reqinfo.html	29 Oct 2002 17:42:57 -0000	1.2
  @@ -5,7 +5,7 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="../servlet/RequestInfoExample"><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="servlet/RequestInfoExample"><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>Source Code for Request Info Example<font color="#0000FF"><br>
     </font> </h3>
   <font color="#0000FF"></font> 
  
  
  
  1.2       +1 -1      jakarta-servletapi-5/jsr154/examples/reqparams.html
  
  Index: reqparams.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr154/examples/reqparams.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- reqparams.html	27 Aug 2002 13:19:47 -0000	1.1
  +++ reqparams.html	29 Oct 2002 17:42:57 -0000	1.2
  @@ -5,7 +5,7 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="../servlet/RequestParamExample"><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="servlet/RequestParamExample"><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>Source Code for Request Parameter Example<font color="#0000FF"><br>
     </font> </h3>
   <font color="#0000FF"></font> 
  
  
  
  1.2       +1 -1      jakarta-servletapi-5/jsr154/examples/sessions.html
  
  Index: sessions.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr154/examples/sessions.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- sessions.html	27 Aug 2002 13:19:47 -0000	1.1
  +++ sessions.html	29 Oct 2002 17:42:57 -0000	1.2
  @@ -5,7 +5,7 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="../servlet/SessionExample"><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="servlet/SessionExample"><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>Source Code for Session Example<font color="#0000FF"><br>
     </font> </h3>
   <font color="#0000FF"></font> 
  
  
  
  1.3       +46 -51    jakarta-servletapi-5/jsr154/examples/WEB-INF/web.xml
  
  Index: web.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr154/examples/WEB-INF/web.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- web.xml	2 Sep 2002 13:15:28 -0000	1.2
  +++ web.xml	29 Oct 2002 17:42:57 -0000	1.3
  @@ -97,66 +97,61 @@
       <!-- Define servlets that are included in the example application -->
   
       <servlet>
  -        <servlet-name>
  -            snoop
  -        </servlet-name>
  -        <servlet-class>
  -            SnoopServlet
  -        </servlet-class>
  -<!--
  -        <init-param>
  -            <param-name>foo</param-name>
  -            <param-value>bar</param-value>
  -        </init-param>
  --->
  -        <run-as>
  -            <description>Security role for anonymous access</description>
  -            <role-name>tomcat</role-name>
  -        </run-as>
  +        <servlet-name>CompressionFilterTestServlet</servlet-name>
  +        <servlet-class>compressionFilters.CompressionFilterTestServlet</servlet-class>
       </servlet>
  -
       <servlet>
  -      <servlet-name>
  -          servletToJsp
  -      </servlet-name>
  -      <servlet-class>
  -          servletToJsp
  -      </servlet-class>
  -    </servlet>
  -        <servlet>
  -        <servlet-name>
  -            CompressionFilterTestServlet
  -        </servlet-name>
  -        <servlet-class>
  -            compressionFilters.CompressionFilterTestServlet
  -        </servlet-class>
  -
  +        <servlet-name>HelloWorldExample</servlet-name>
  +        <servlet-class>HelloWorldExample</servlet-class>
  +    </servlet>
  +    <servlet>
  +        <servlet-name>RequestInfoExample</servlet-name>
  +        <servlet-class>RequestInfoExample</servlet-class>
  +    </servlet>
  +    <servlet>
  +        <servlet-name>RequestHeaderExample</servlet-name>
  +        <servlet-class>RequestHeaderExample</servlet-class>
  +    </servlet>
  +    <servlet>
  +        <servlet-name>RequestParamExample</servlet-name>
  +        <servlet-class>RequestParamExample</servlet-class>
  +    </servlet>
  +    <servlet>
  +        <servlet-name>CookieExample</servlet-name>
  +        <servlet-class>CookieExample</servlet-class>
  +    </servlet>
  +    <servlet>
  +        <servlet-name>SessionExample</servlet-name>
  +        <servlet-class>SessionExample</servlet-class>
       </servlet>
   
       <servlet-mapping>
  -        <servlet-name>
  -            CompressionFilterTestServlet
  -        </servlet-name>
  -        <url-pattern>
  -            /CompressionTest
  -        </url-pattern>
  +        <servlet-name>CompressionFilterTestServlet</servlet-name>
  +        <url-pattern>/CompressionTest</url-pattern>
  +    </servlet-mapping>
  +    <servlet-mapping>
  +        <servlet-name>HelloWorldExample</servlet-name>
  +        <url-pattern>/servlet/HelloWorldExample</url-pattern>
  +    </servlet-mapping>
  +    <servlet-mapping>
  +        <servlet-name>RequestInfoExample</servlet-name>
  +        <url-pattern>/servlet/RequestInfoExample</url-pattern>
  +    </servlet-mapping>
  +    <servlet-mapping>
  +        <servlet-name>RequestHeaderExample</servlet-name>
  +        <url-pattern>/servlet/RequestHeaderExample</url-pattern>
  +    </servlet-mapping>
  +    <servlet-mapping>
  +        <servlet-name>RequestParamExample</servlet-name>
  +        <url-pattern>/servlet/RequestParamExample</url-pattern>
       </servlet-mapping>
  -
       <servlet-mapping>
  -        <servlet-name>
  -            snoop
  -        </servlet-name>
  -        <url-pattern>
  -            /snoop
  -        </url-pattern>
  +        <servlet-name>CookieExample</servlet-name>
  +        <url-pattern>/servlet/CookieExample</url-pattern>
       </servlet-mapping>
       <servlet-mapping>
  -        <servlet-name>
  -            servletToJsp
  -        </servlet-name>
  -        <url-pattern>
  -            /servletToJsp
  -        </url-pattern>
  +        <servlet-name>SessionExample</servlet-name>
  +        <url-pattern>/servlet/SessionExample</url-pattern>
       </servlet-mapping>
   
       <security-constraint>
  
  
  
  1.2       +5 -5      jakarta-servletapi-5/jsr154/examples/WEB-INF/classes/CookieExample.java
  
  Index: CookieExample.java
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr154/examples/WEB-INF/classes/CookieExample.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CookieExample.java	27 Aug 2002 13:19:48 -0000	1.1
  +++ CookieExample.java	29 Oct 2002 17:42:57 -0000	1.2
  @@ -42,11 +42,11 @@
           // making these absolute till we work out the
           // addition of a PathInfo issue 
   	
  -        out.println("<a href=\"/examples/servlets/cookies.html\">");
  -        out.println("<img src=\"/examples/images/code.gif\" height=24 " +
  +        out.println("<a href=\"../cookies.html\">");
  +        out.println("<img src=\"../images/code.gif\" height=24 " +
                       "width=24 align=right border=0 alt=\"view code\"></a>");
  -        out.println("<a href=\"/examples/servlets/index.html\">");
  -        out.println("<img src=\"/examples/images/return.gif\" height=24 " +
  +        out.println("<a href=\"../index.html\">");
  +        out.println("<img src=\"../images/return.gif\" height=24 " +
                       "width=24 align=right border=0 alt=\"return\"></a>");
   
           out.println("<h3>" + title + "</h3>");
  
  
  
  1.2       +5 -5      jakarta-servletapi-5/jsr154/examples/WEB-INF/classes/HelloWorldExample.java
  
  Index: HelloWorldExample.java
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr154/examples/WEB-INF/classes/HelloWorldExample.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- HelloWorldExample.java	27 Aug 2002 13:19:48 -0000	1.1
  +++ HelloWorldExample.java	29 Oct 2002 17:42:57 -0000	1.2
  @@ -44,11 +44,11 @@
           // making these absolute till we work out the
           // addition of a PathInfo issue
   
  -	    out.println("<a href=\"/examples/servlets/helloworld.html\">");
  -        out.println("<img src=\"/examples/images/code.gif\" height=24 " +
  +	    out.println("<a href=\"../helloworld.html\">");
  +        out.println("<img src=\"../images/code.gif\" height=24 " +
                       "width=24 align=right border=0 alt=\"view code\"></a>");
  -        out.println("<a href=\"/examples/servlets/index.html\">");
  -        out.println("<img src=\"/examples/images/return.gif\" height=24 " +
  +        out.println("<a href=\"../index.html\">");
  +        out.println("<img src=\"../images/return.gif\" height=24 " +
                       "width=24 align=right border=0 alt=\"return\"></a>");
           out.println("<h1>" + title + "</h1>");
           out.println("</body>");
  
  
  
  1.2       +5 -5      jakarta-servletapi-5/jsr154/examples/WEB-INF/classes/RequestHeaderExample.java
  
  Index: RequestHeaderExample.java
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr154/examples/WEB-INF/classes/RequestHeaderExample.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- RequestHeaderExample.java	27 Aug 2002 13:19:48 -0000	1.1
  +++ RequestHeaderExample.java	29 Oct 2002 17:42:57 -0000	1.2
  @@ -42,11 +42,11 @@
           // making these absolute till we work out the
           // addition of a PathInfo issue 
   	
  -        out.println("<a href=\"/examples/servlets/reqheaders.html\">");
  -        out.println("<img src=\"/examples/images/code.gif\" height=24 " +
  +        out.println("<a href=\"../reqheaders.html\">");
  +        out.println("<img src=\"../images/code.gif\" height=24 " +
                       "width=24 align=right border=0 alt=\"view code\"></a>");
  -        out.println("<a href=\"/examples/servlets/index.html\">");
  -        out.println("<img src=\"/examples/images/return.gif\" height=24 " +
  +        out.println("<a href=\"../index.html\">");
  +        out.println("<img src=\"../images/return.gif\" height=24 " +
                       "width=24 align=right border=0 alt=\"return\"></a>");
   
           out.println("<h3>" + title + "</h3>");
  
  
  
  1.2       +5 -5      jakarta-servletapi-5/jsr154/examples/WEB-INF/classes/RequestInfoExample.java
  
  Index: RequestInfoExample.java
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr154/examples/WEB-INF/classes/RequestInfoExample.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- RequestInfoExample.java	27 Aug 2002 13:19:48 -0000	1.1
  +++ RequestInfoExample.java	29 Oct 2002 17:42:57 -0000	1.2
  @@ -44,11 +44,11 @@
           // making these absolute till we work out the
           // addition of a PathInfo issue
   	
  -        out.println("<a href=\"/examples/servlets/reqinfo.html\">");
  -        out.println("<img src=\"/examples/images/code.gif\" height=24 " +
  +        out.println("<a href=\"../reqinfo.html\">");
  +        out.println("<img src=\"../images/code.gif\" height=24 " +
                       "width=24 align=right border=0 alt=\"view code\"></a>");
  -        out.println("<a href=\"/examples/servlets/index.html\">");
  -        out.println("<img src=\"/examples/images/return.gif\" height=24 " +
  +        out.println("<a href=\"../index.html\">");
  +        out.println("<img src=\"../images/return.gif\" height=24 " +
                       "width=24 align=right border=0 alt=\"return\"></a>");
   
           out.println("<h3>" + title + "</h3>");
  
  
  
  1.2       +5 -5      jakarta-servletapi-5/jsr154/examples/WEB-INF/classes/RequestParamExample.java
  
  Index: RequestParamExample.java
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr154/examples/WEB-INF/classes/RequestParamExample.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- RequestParamExample.java	27 Aug 2002 13:19:48 -0000	1.1
  +++ RequestParamExample.java	29 Oct 2002 17:42:57 -0000	1.2
  @@ -45,11 +45,11 @@
           // making these absolute till we work out the
           // addition of a PathInfo issue 
   	
  -        out.println("<a href=\"/examples/servlets/reqparams.html\">");
  -        out.println("<img src=\"/examples/images/code.gif\" height=24 " +
  +        out.println("<a href=\"../reqparams.html\">");
  +        out.println("<img src=\"../images/code.gif\" height=24 " +
                       "width=24 align=right border=0 alt=\"view code\"></a>");
  -        out.println("<a href=\"/examples/servlets/index.html\">");
  -        out.println("<img src=\"/examples/images/return.gif\" height=24 " +
  +        out.println("<a href=\"../index.html\">");
  +        out.println("<img src=\"../images/return.gif\" height=24 " +
                       "width=24 align=right border=0 alt=\"return\"></a>");
   
           out.println("<h3>" + title + "</h3>");
  
  
  
  1.2       +5 -5      jakarta-servletapi-5/jsr154/examples/WEB-INF/classes/SessionExample.java
  
  Index: SessionExample.java
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr154/examples/WEB-INF/classes/SessionExample.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SessionExample.java	27 Aug 2002 13:19:48 -0000	1.1
  +++ SessionExample.java	29 Oct 2002 17:42:57 -0000	1.2
  @@ -43,11 +43,11 @@
           // making these absolute till we work out the
           // addition of a PathInfo issue 
   	
  -        out.println("<a href=\"/examples/servlets/sessions.html\">");
  -        out.println("<img src=\"/examples/images/code.gif\" height=24 " +
  +        out.println("<a href=\"../sessions.html\">");
  +        out.println("<img src=\"../images/code.gif\" height=24 " +
                       "width=24 align=right border=0 alt=\"view code\"></a>");
  -        out.println("<a href=\"/examples/servlets/index.html\">");
  -        out.println("<img src=\"/examples/images/return.gif\" height=24 " +
  +        out.println("<a href=\"../index.html\">");
  +        out.println("<img src=\"../images/return.gif\" height=24 " +
                       "width=24 align=right border=0 alt=\"return\"></a>");
   
           out.println("<h3>" + title + "</h3>");
  
  
  

--
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