Template temp = getConfiguration().getTemplate("brand/AddBrand.ftl");
ApplicationContext ac = WebApplicationContextUtils.getWebApplicationContext(this.getServletContext());
IGatewayService gatewayService = (IGatewayService) ac.getBean("gatewayService");
List<Supplier> suppliers = gatewayService.findSupplier();
if(suppliers!=null&&suppliers.size()>0) {
root.put("suppliers", suppliers);
}