在JSTL中将字符串转换为Title case [英] converting strings to Title case in JSTL

查看:162
本文介绍了在JSTL中将字符串转换为Title case的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法将字符串转换为Title case,使用JSTL标签?

Is there any way to convert a string to Title case, using JSTL tags?

在此先感谢。

推荐答案

在服务器上转换字符串的另一种方法是让CSS完成工作

An alternative to transforming the string on the server is to let CSS do the work:

text-transform: capitalize

这篇关于在JSTL中将字符串转换为Title case的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆