spring mvc 获取页面日期格式数据时间:2023-03-09 05:48:06 1.传递日期参数: 解决办法: 实体类日期属性加 @DateTimeFormat(pattern="yyyy-MM-dd") 注解 beans中加 <mvc:annotation-driven />