*/
protected boolean getConfig(HttpServletRequest req) {
- String RealPath = super.getServletContext().getRealPath("/");
+ String RealPath = super.getServletContext().getRealPath("/");
String Uri = req.getRequestURI();
String Name = super.getServletName();
- //small quickhack, actionroot has to be /servlet/Mir
- //String RootUri = StringUtil.replace(Uri, "/servlet/" + Name, "");
- String RootUri = StringUtil.replace(Uri, "/servlet/Mir", "");
+ String RootUri = StringUtil.replace(Uri, "/servlet/" + Name, "");
MirConfig.initConfig(RealPath, RootUri, Name, getInitParameter("Config"));