哪些类代表四个不同的范围:页面,请求,会话和应用程序?我不确定第一个,但认为其余的可能是ServletRequest,HttpSession和ServeltContext。
答案 0 :(得分:2)
application = javax.servlet.ServletContext
config = javax.servlet.ServletConfig
exception = java.lang.Throwable
out = javax.servlet.jsp.JspWriter
page = java.lang.Object
PageContext = javax.servlet.jsp.PageContext
request = javax.servlet.ServletRequest
response = javax.servlet.ServletResponse
session = javax.servlet.http.HttpSession
答案 1 :(得分:0)
这会告诉你:
<%= page.getClass() %>
: - P