Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个自定义java.text.Format并想在我的 JSP 中使用它。是否有可以使用自定义格式化对象的 JSP/JSTL 标记java.text.Format?我正在寻找类似的东西<fmt:formatNumber>,<fmt:formatDate>除了可以使用自定义格式。
java.text.Format
<fmt:formatNumber>
<fmt:formatDate>
我知道我可以编写自己的标签,但很好奇是否有现成的解决方案。
不,那里没有。您必须编写自己的自定义标签。