From e5dc7e8c6534276337eeb0f4cbc7e636b0ffc660 Mon Sep 17 00:00:00 2001 From: cvs Date: Sat, 23 Nov 2002 22:43:06 +0000 Subject: [PATCH] the patch of mh for tomcat 4.1.* made the servlet-config incompatible with tomcat 4.0.*. so i changed this again. the compatibility to tomcat 4.1.* should be made in web.xml. idfx --- source/mir/servlet/AbstractServlet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/mir/servlet/AbstractServlet.java b/source/mir/servlet/AbstractServlet.java index e0ee0754..715c8306 100755 --- a/source/mir/servlet/AbstractServlet.java +++ b/source/mir/servlet/AbstractServlet.java @@ -65,7 +65,7 @@ public abstract class AbstractServlet extends HttpServlet { //String RealPath = super.getServletContext().getRealPath("/"); String uri = req.getRequestURI(); String name = super.getServletName(); - String rootUri = StringUtil.replace(uri, "/"+name, ""); + String rootUri = StringUtil.replace(uri, "/servlet/"+name, ""); // init config //MirConfig.initConfig(RealPath, RootUri, Name, getInitParameter("Config")); -- 2.11.0