@Override
public ActionForward defaultMethod(ActionMapping am, ActionForm af, HttpServletRequest req, HttpServletResponse res) {
super.defaultMethod(am, af, req, res);
ListTemplatesForm form=(ListTemplatesForm) af;
form.setMyUserId(webUser.getId());
this.session = HibernateSessions.getSessionFactory().openSession();
try {
ArrayList<GameTemplate> ret=GameTemplateDao.getAllGameTemplates(session);
form.setGameTemplates(ret);
} finally {
this.session.close();
}
return am.findForward("list");