File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Ch04_OutputEscapingJSP/src/main/webapp Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11<%@ page language =" java" contentType =" text/html; charset=UTF-8" pageEncoding =" UTF-8" %>
2- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd" >
32<%@ taglib prefix =" c" uri =" http://java.sun.com/jsp/jstl/core" %>
43<html >
54 <head >
65 <meta http-equiv =" Content-Type" content =" text/html; charset=UTF-8" >
7- <link rel =" stylesheet" type =" text/css" href =" styles.css" />
6+ <link rel =" stylesheet" type =" text/css" href =" <c:url value= " / resources / styles.css " /> " >
87 <title >Ch04_OutputEscapingJSP: New Contact</title >
98 </head >
109 <body >
Original file line number Diff line number Diff line change 1+ <%@ page session =" false" %>
12<%@ page language =" java" contentType =" text/html; charset=UTF-8" pageEncoding =" UTF-8" %>
2- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd" >
33<%@ taglib prefix =" form" uri =" http://www.springframework.org/tags/form" %>
4+ <%@ taglib prefix =" c" uri =" http://java.sun.com/jsp/jstl/core" %>
45<html >
56<head >
67 <meta http-equiv =" Content-Type" content =" text/html; charset=UTF-8" >
7- <link rel =" stylesheet" type =" text/css" href =" styles.css" />
8+ <link rel =" stylesheet" type =" text/css" href =" <c:url value= " / resources / styles.css " /> " >
89 <title >Ch04_OutputEscapingJSP</title >
910</head >
1011<body >
1112 <h1 >Ch04_OutputEscapingJSP</h1 >
1213
13- <form:form method =" post" action =" addContact.html " >
14+ <form:form method =" post" action =" addContact" >
1415 <table >
1516 <tr >
1617 <td ><form:label path =" firstname" >Firstname</form:label ></td >
File renamed without changes.
You can’t perform that action at this time.
0 commit comments