Can implicit object application be used with EL in JSP 2.0?
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
精彩评论