String fn:toUpperCase(String sourceStr)其中,sourceStr 为指定的字符串。
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> <!DOCTYPE html> <html> <head> <title>编程帮(www.lmcjl.com)</title> </head> <body> <c:set var="msg" value="Welcome to bianchengbang" /> ${fn:toUpperCase(msg)} </body> </html>
WELCOME TO BIANCHENGBANG
本文链接:http://task.lmcjl.com/news/4992.html