javaweb4-jsp

jsp的九大内置对象

request ----------请求对象

response ----------响应对象

pageContext----------jsp的上下文对象

session ----------对象

application ----------ServletContext对象

config---------- ServletConfig对象

out ----------jsp输出流对象

page ----------指向当前jsp的对象

exception---------- 异常对象

静态包含

包含一般用于页面的底部(友情链接,关与我们等等)
<%@ include file="/include/footer.jsp"%>
在这里插入图片描述

动态包含

<jsp:include page="/include/footer.jsp"></jsp:include>

ServletContextListener监听器

在这里插入图片描述
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_48652345/article/details/118861524