开发者

Can implicit object application be used with EL in JSP 2.0?

开发者 https://www.devze.com 2023-01-18 09:41 出处:网络
is it possible to use the implicit object \'Application\' usin开发者_StackOverflow中文版g EL in JSP 2.0?For example, instead of

is it possible to use the implicit object 'Application' usin开发者_StackOverflow中文版g EL in JSP 2.0? For example, instead of

<%=application.getInitParameter("appkey")%>

I want an EL version. I know I can use JSTL initParam but wondering if there is a way with Application.. thanks.


${applicationScope.appKey}

See here

0

精彩评论

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