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.
我想做类似的事情:
<c:set var="customer" value="${new com.test.Customer()}" />
但这不起作用。有这样的可能吗?
您可以使用新的 spring:eval JSP 标签,它允许您从 JSP 页面评估 SpEL 表达式,而不是 c:set。