开发者

How can I truncate string in JSF?

开发者 https://www.devze.com 2023-04-04 17:12 出处:网络
How can I truncate string in JSF2 ?Say I have a really long name and I only want to display 5 characters how can I do that? I know I use backin开发者_高级运维g bean what any better options.use JSTL fn

How can I truncate string in JSF2 ?

Say I have a really long name and I only want to display 5 characters how can I do that? I know I use backin开发者_高级运维g bean what any better options.


use JSTL fn:substring()

0

精彩评论

暂无评论...
验证码 换一张
取 消