From 828ffa35841a585ddeeac9d934e3a4951e1702c0 Mon Sep 17 00:00:00 2001 From: ulrich Date: Mon, 28 Dec 2020 09:53:39 +0000 Subject: [PATCH] Von DefaultServlet auf HttpServlet umgestellt --- src/de/uhilger/wbx/web/TestServlet.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/de/uhilger/wbx/web/TestServlet.java b/src/de/uhilger/wbx/web/TestServlet.java index 9580778..91eeccf 100644 --- a/src/de/uhilger/wbx/web/TestServlet.java +++ b/src/de/uhilger/wbx/web/TestServlet.java @@ -52,7 +52,7 @@ out.println("<h1>Servlet TestServlet at " + request.getContextPath() + "</h1>"); // hier kommt veraenderlicher Inhalt - ServletContext ctx = request.getServletContext(); + ServletContext ctx = request.getSession().getServletContext(); Object o = ctx.getAttribute("filebase"); String base; if(o instanceof String) { -- Gitblit v1.9.3