javaweb_jsp
javaweb_jsp elements
JSP-java server pages 1. jsp scriptlet 1 <%--jsp scriptlet--%> 2 <% 3 int sum = 0; 4 for (int i = 1; i <= 100; i++) { 5 sum += i; 6 } 7 out.println("< ......
javaweb_jsp error page
error page in .jsp 1 <%@ page contentType="text/html;charset=UTF-8" language="java" %> 2 <%--<%@ page errorPage="error/500.jsp" %>--%> 3 <%--<%@ page ......
javaweb_jsp@include/jsp:include/implicit objects
jsp @include Directive jsp:include Action 1 <html> 2 <head> 3 <title>Title</title> 4 </head> 5 <body> 6 <%--两个页面合二为一,包含在同一块代码里--%> 7 <%@include file=" ......