当前位置: 移动技术网 > IT编程>开发语言>Jsp > JSP————隐式对象

JSP————隐式对象

2018年10月25日  | 移动技术网IT编程  | 我要评论
九大隐式对象
 
jsp隐式对象的作用范围仅限于servlet的_service方法,所以在jsp声明中不能使用这些隐式对象
pagecontext pagecontext= null;
httpsession session= null;
servletcontext application= null;
servletconfig config= null;
jspwriter out= null;
object page= this;
throwable exception= org.apache.jer.runtime.jspruntimelibrary.getthrowable(request);
if (exception != null) {
              response.setstatus(httpservletresponse.sc_internal_server_error);
       }                 
还有request      response              自己找个方法记住方便使用(rrcaoppse)

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网