Fixed FolderHook.
This commit is contained in:
parent
3a79d8e214
commit
5b096f4d79
2 changed files with 3 additions and 3 deletions
|
@ -244,7 +244,7 @@ public class KissDispatcherFactory
|
||||||
buffer.append(letter);
|
buffer.append(letter);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
buffer.append(".IndexXhtml");
|
buffer.append("IndexXhtml");
|
||||||
|
|
||||||
result = buffer.toString();
|
result = buffer.toString();
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@ import java.io.IOException;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
import fr.devinsy.kiss4web.dispatcher.KissDispatcherUtils;
|
import fr.devinsy.kiss4web.dispatcher.KissDispatcherFactory;
|
||||||
import jakarta.servlet.ServletConfig;
|
import jakarta.servlet.ServletConfig;
|
||||||
import jakarta.servlet.ServletContext;
|
import jakarta.servlet.ServletContext;
|
||||||
import jakarta.servlet.ServletException;
|
import jakarta.servlet.ServletException;
|
||||||
|
@ -78,6 +78,6 @@ public class FolderHook extends HookCore
|
||||||
logger.debug("Doing catch.");
|
logger.debug("Doing catch.");
|
||||||
|
|
||||||
String urlPath = request.getPathInfo();
|
String urlPath = request.getPathInfo();
|
||||||
KissDispatcherUtils.dispatchToServlet(servletConfig, request, response, urlPath);
|
KissDispatcherFactory.instance().dispatchPathToServlet(servletConfig, request, response, urlPath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue