*/
protected String getHrefAttribute() throws Exception {
HttpServletRequest request =
(HttpServletRequest)pageContext.getRequest();
ModuleSupport support = ModuleSupport.getInstance(request);
ModuleContext context = null;
if (module == null) {
context = support.getModuleContext(request);
} else {
context = support.getModuleContext(module);
}
StringBuffer buffer = new StringBuffer();
buffer.append(request.getContextPath());
buffer.append(context.getPath(action));
HttpServletResponse response =
(HttpServletResponse)pageContext.getResponse();
return response.encodeURL(buffer.toString());
}