+ /**
+ * Derive a default variable map for template processing.
+ *
+ * @param req
+ * the HTTP-request to derive the map from
+ * @return the map
+ */
+ protected Map<String, Object> getDefaultVars(HttpServletRequest req) {
+ HashMap<String, Object> vars = new HashMap<String, Object>();
+ vars.put(Gigi.LINK_HOST, req.getAttribute(Gigi.LINK_HOST));
+ return vars;
+ }
+