public void service(HttpServletRequest request,
HttpServletResponse response)
throws IOException, ServletException {
CatalogFactory factory = CatalogFactory.getInstance();
Catalog catalog = factory.getCatalog(servletName);
if (catalog == null) {
catalog = factory.getCatalog();
}
ServletWebContext context =
new ServletWebContext(getServletContext(), request, response);
Command command = catalog.getCommand("COMMAND_MAPPER");
try {
command.execute(context);
} catch (Exception e) {
throw new ServletException(e);
}