<form th:action="{/ROOT/seller/insert}" method="post">
이메일<input type="text"><br />
암호<input type="text"><br />
암호확인<input type="text"><br />
이름<input type="text"><br />
전화번호<input type="text"><br />
<select>
<option>판매자</option>
<option>구매자</option>
</select><br />
<input type="submit" value="회원가입"><br />
</form>
</body>
</html>
localhost/ROOT
나중에 압축하면
ROOT.war => ROOT
localhost/ROOT1
ROOT.war => ROOT1
이렇게 만들면 오류남
그래서 contextpath가 자동으로 잡을 수 있게 만들어야함
@를 넣으면 contextpath가 자동으로 잡아와서 앞에 붙여줌
<h3>회원가입</h3>
<form th:action="@{/seller/insert}" method="post">
이메일<input type="text"><br />
암호<input type="text"><br />
암호확인<input type="text"><br />
이름<input type="text"><br />
전화번호<input type="text"><br />
<select>
<option>판매자</option>
<option>구매자</option>
</select><br />
<input type="submit" value="회원가입"><br />
</form>
</body>
</html>