public static void renderCssResource(ImtWebContext context) throws IOException { context.setCssContentType(); int pos = context.getUrl().indexOf("/css"); String path = context.getUrl().substring(pos); context.put("url", context.getUrl().substring(0, pos)); context.put("encoding", context.getEncoding()); context.render(merge(context, path)); }