<%
String aname = null;
String avalue = null;
Enumeration enu = this.getServletContext (). getAttributeNames ();
while (enu.hasMoreElements ())
{
aname = (String) enu.nextElement ();
avalue = (String) getServletContext (). getAttribute (aname);
%>
<% = aname%> -----> <% = avalue%>
<%
}
%>
没有评论:
发表评论