开发者

In JSP, is there a way to see all available variables in the specific scope like in PHP?

开发者 https://www.devze.com 2022-12-10 02:24 出处:网络
Or better yet how do I dump all the variables in a given scope in jsp? (In php you can use a function call to see all the system, globa开发者_运维问答l and user-defined vars and functions available..

Or better yet how do I dump all the variables in a given scope in jsp?

(In php you can use a function call to see all the system, globa开发者_运维问答l and user-defined vars and functions available...)


Yes. See this article for an overview of all objects that can be accessed, and a small piece of demo code demonstrating the access per object using the JSTL.

0

精彩评论

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