gpt4 book ai didi

jsp - 如何在jsp中进行子串?

转载 作者:行者123 更新时间:2023-12-05 01:13:07 25 4
gpt4 key购买 nike

有没有办法使用 struts2 技术在 JSP 文件中添加子字符串?我的意思是,struts2 有自己的 taglib,也使用 ognl。如何从堆叠值或 bean 值中获取子字符串?

最佳答案

http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/index.html

查找 fn:substring 及其变体。

我使用过 Struts 1,但没有使用过 2。

关于jsp - 如何在jsp中进行子串?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64825/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com