public String getPageScope ( ) { Map info = new TreeMap ( ) ; Enumeration names = pageContext . getAttributeNamesInScope ( PageContext . PAGE_SCOPE ) ; while ( names . hasMoreElements ( ) ) { String name = ( String ) names . nextElement ( ) ; Object value = pageContext . getAttribute ( name ) ; info . put ( name , toStringValue ( value ) ) ; } return toHTMLTable ( "page scope" , info ) ; }
Returns a String with all page scope variables .