我已经访问过以下帖子:
https://stackoverflow.com/questions/281380/format-date-with-fmtformatdate-jsp
有没有一种方法可以让我以某种方式定义默认日期格式..这样我就不需要格式化整个应用程序。
我的意思是我不想一次又一次地使用格式化程序...有什么想法吗?
最佳答案
我认为,如果您将通过字段(输入类型文本)输入日期,请使用 javascript 日历并修复脚本内的格式。
关于java - jSTL 表达式中的默认日期格式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16507630/