2015-07-02 46 views
0
@ModelAttribute(value = "tempmap") 
    public Map<Integer, String> getETypeMap(HttpServletRequest request) 
      throws EmployeeBusinessException { 
     Map<Integer, String> tempmap = employeeBS 
       .fetchEmployeementType(userDetails.getTenantId(), userDetails.getLocaleId()); 
     return tempmap; 
    } 

這裏我有對象的tempmap即HashMap的類型顯示在JSP文件映射對象的數據,問題是我想用SpringMVC使用框架來使用這個oblect在我的JSP文件。如何使用Spring MVC的

回答