javaweb4-jsp

Nine built-in objects of jsp

request ---------- request object

response ---------- response object

pageContext ----------jsp context object

session ---------- object

application ---------- ServletContext object

config ---------- ServletConfig object

out ----------jsp output stream object

page ----------points to the object of the current jsp

exception ---------- exception object

static include

Include is generally used at the bottom of the page (friendship links, about us, etc.)
<%@ include file="/include/footer.jsp"%>
insert image description here

dynamic include

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

ServletContextListener listener

insert image description here
insert image description here

Guess you like

Origin blog.csdn.net/weixin_48652345/article/details/118861524