ServletContext context = getServletContext();
Properties mailProperties = new Properties();
// setHibernateUtil(Hiber.getUtil());
try {
MonadContextParameters monadParameters = (MonadContextParameters) context
.getAttribute("monadParameters");
String mailHost = monadParameters.getMailHost();
if (mailHost != null) {
mailProperties.setProperty("mail.host", mailHost);
}
} catch (Throwable e) {
logger.logp(Level.SEVERE, "net.sf.theelected.ui.Chellow", "init",