diff --git a/homework5/src/main/webapp/c_out1.jsp b/homework5/src/main/webapp/c_out1.jsp new file mode 100644 index 0000000..9c3635d --- /dev/null +++ b/homework5/src/main/webapp/c_out1.jsp @@ -0,0 +1,15 @@ +<%@ page language="java" contentType="text/html; charset=utf-8"%> +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> + + + +<%--第1个out标签 --%> +userName属性的值为: +
+<%--第2个out标签 --%> +userName属性的值为: + + unknown + + + diff --git a/homework5/src/main/webapp/c_url.jsp b/homework5/src/main/webapp/c_url.jsp new file mode 100644 index 0000000..c93378b --- /dev/null +++ b/homework5/src/main/webapp/c_url.jsp @@ -0,0 +1,21 @@ +<%@ page contentType="text/html;charset=UTF-8" language="java" %> +<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> + + + Title + + +使用绝对路径构造 URL:
+ + + +c_out1.jsp
+使用相对路径构造 URL:
+ + + +c_out1.jsp + +