How to use HashMap in jsp

Today, the project encountered in the background needs to be passed in Map <String, List <Meeting>> dateGroup types of collection in the jsp to display the beginning thought a lot of trouble, resulting in online search a bit old so simple, He He:

 [b]<c:forEach items="${dateGroupMap}" var="dateGroup" >[/b]
                [b]<td width="20%" valign="bottom">${dateGroup.key[/b]}</td>
             [b]<c:forEach items="${dateGroup.value}" var="meeting">[/b]
                   <td colspan="4"><hr></td>

                 <tr height="20">
                    <td height="20">${meeting.startDate}
                                <c:if test="${not empty meeting.endDate}">
                    <td height="20">${meeting.title}</td>
                    <td height="20">${meeting.location}</td>
                    <td height="20">${meeting.content}</td>
分类:Java 时间:2010-03-25 人气:333
blog comments powered by Disqus


  • Set the maximum width and minimum page height (compatible IE6) 2010-03-30

    /* Minimum width */ .min_width{min-width:300px; /* sets max-width for IE */ _width:expression(document.body.clientWidth < 300 ? "300px" : "auto"); } /* The maximum width */ .max_width{ max-width:600px; /* sets max-width for IE */ _w

  • Original: Android to get the screen height. Title height. Detailed status bar height 2010-11-30

    A ndroid get screen height, title, height, height of status bar Detailed Jojol_Zhou, 2010/11/29 Android to get screen height of the methods provided by the view View available method to get through the height of two ways: 1, the currently displayed v

  • Set the scroll bar width of the dynamic height method 2010-08-22

    If the report is a great amount of data, rows, columns to be numerous, when the output in the WEB page, need to fix report headers, set the horizontal, vertical scroll section, Tong Guo drag the scroll bar to view the report. However, when the report

  • CSS + JS mask technology center, center technology, using JS to get the width of the div height? 2011-01-11

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ""> <html xmlns="" xml:lang="zh-CN" lang="zh-CN"&g

  • Flex for the screen width. Height and height of the taskbar 2010-08-21

    Access to screen information on Adobe Flex and the task bar height. Screen can get in on the display parameters. Get display resolution screen.width screen.height

  • Access to the page height, window height, the height of the scroll bar parameters getPageSize, getPageScroll 2010-04-22

    function getPageScroll () ( var yScroll; if (self.pageYOffset) ( yScroll = self.pageYOffset; ) Else if (document.documentElement & & document.documentElement.scrollTop) (/ / Explorer 6 Strict yScroll = document.documentElement.scrollTop; ) Else if

  • Adaptive minimum height and height of DIV 2010-10-15

    Focus of this paper and we discuss how to control the minimum height and DIV DIV highly adaptive problems, if we need to set a div height, when the stuff inside than this height, so that the container is automatically distraction, that is highly adap

  • Google Map with the Flex application development 2010-04-05

    Document options <noscript> </ noscript> <noscript> <tr valign="top"> <td width="8"> <img alt = "" height = "1" width = "8" src = " / / / i / c.gif "/

  • JSP Environment Probe 2010-09-01

    Each background is a complete detection system required for each developer and investors to provide commercial basis, following the development and application against java probe designed <%@ page contentType="text/html;charset=gb2312" %>

  • 使用JSP + JAVABEAN + XML 开发的一个例子 2014-12-30

    本例子是参考了一些网站上有关JSP 对 XML 的操作的相关文档,又结合了一些个人的体会.例子涉及的内容是,开发的一个企业内部定餐系统后台管理端的部分代码,功能主要集中在对于餐馆基本信息的管理. 该例子本身开发的起因是我在原公司和同事们一个玩笑的一部分.特此也表达对那些一起共事的朋友们的想念. 例子本身是在TOMCAT4.01 平台下运行的B/S结构的程式.有关TOMCAT 的配置,这里不做说明.只讲解一下相关文件及文件夹的目录结构. 目录结构说明: /tomcat/webapps/canyin

iOS 开发

Android 开发

Python 开发



PHP 开发

Ruby 开发






Javascript 开发

.NET 开发



Copyright (C), All Rights Reserved. 版权所有 闽ICP备15018612号

processed in 0.097 (s). 10 q(s)