getAttribute(String name)
<% application.getAttribute("user"); %>
<body> <% application.setAttribute("userName","大熊貓");//在application物件中儲存屬性 out.println("儲存在application裡的屬性值為:"+application.getAttribute("userName"));//在頁面中輸出屬性資訊 %> </body>