This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 11.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit 0c80b155a0b0fdd344eda035c979ab03389e7547 Author: Mark Thomas <ma...@apache.org> AuthorDate: Mon Dec 2 15:36:59 2024 +0000 Remove out of date comments --- webapps/examples/WEB-INF/classes/CookieExample.java | 8 -------- webapps/examples/WEB-INF/classes/RequestHeaderExample.java | 7 ------- webapps/examples/WEB-INF/classes/RequestParamExample.java | 9 --------- webapps/examples/WEB-INF/classes/SessionExample.java | 8 -------- 4 files changed, 32 deletions(-) diff --git a/webapps/examples/WEB-INF/classes/CookieExample.java b/webapps/examples/WEB-INF/classes/CookieExample.java index 00350d38bf..dc4d1d71e3 100644 --- a/webapps/examples/WEB-INF/classes/CookieExample.java +++ b/webapps/examples/WEB-INF/classes/CookieExample.java @@ -14,7 +14,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - import java.io.IOException; import java.io.PrintWriter; import java.util.ResourceBundle; @@ -34,7 +33,6 @@ import util.HTMLFilter; * * @author James Duncan Davidson <dun...@eng.sun.com> */ - public class CookieExample extends HttpServlet { private static final long serialVersionUID = 1L; @@ -65,12 +63,6 @@ public class CookieExample extends HttpServlet { out.println("</head>"); out.println("<body bgcolor=\"white\">"); - // relative links - - // XXX - // making these absolute till we work out the - // addition of a PathInfo issue - 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>"); diff --git a/webapps/examples/WEB-INF/classes/RequestHeaderExample.java b/webapps/examples/WEB-INF/classes/RequestHeaderExample.java index 228d1921fe..993a4463d4 100644 --- a/webapps/examples/WEB-INF/classes/RequestHeaderExample.java +++ b/webapps/examples/WEB-INF/classes/RequestHeaderExample.java @@ -14,7 +14,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - import java.io.IOException; import java.io.PrintWriter; import java.util.Enumeration; @@ -96,12 +95,6 @@ public class RequestHeaderExample extends HttpServlet { out.println("</head>"); out.println("<body bgcolor=\"white\">"); - // all links relative - - // XXX - // making these absolute till we work out the - // addition of a PathInfo issue - 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>"); diff --git a/webapps/examples/WEB-INF/classes/RequestParamExample.java b/webapps/examples/WEB-INF/classes/RequestParamExample.java index 617c4cfc13..6515afd1b1 100644 --- a/webapps/examples/WEB-INF/classes/RequestParamExample.java +++ b/webapps/examples/WEB-INF/classes/RequestParamExample.java @@ -14,7 +14,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - import java.io.IOException; import java.io.PrintWriter; import java.util.ResourceBundle; @@ -53,14 +52,6 @@ public class RequestParamExample extends HttpServlet { out.println("</head>"); out.println("<body bgcolor=\"white\">"); - // img stuff not req'd for source code HTML showing - - // all links relative - - // XXX - // making these absolute till we work out the - // addition of a PathInfo issue - 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>"); diff --git a/webapps/examples/WEB-INF/classes/SessionExample.java b/webapps/examples/WEB-INF/classes/SessionExample.java index ac16ee934d..92c3d6b7f9 100644 --- a/webapps/examples/WEB-INF/classes/SessionExample.java +++ b/webapps/examples/WEB-INF/classes/SessionExample.java @@ -14,7 +14,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - import java.io.IOException; import java.io.PrintWriter; import java.util.Date; @@ -57,13 +56,6 @@ public class SessionExample extends HttpServlet { out.println("</head>"); out.println("<body bgcolor=\"white\">"); - // img stuff not req'd for source code HTML showing - // relative links everywhere! - - // XXX - // making these absolute till we work out the - // addition of a PathInfo issue - 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>"); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org