더북(TheBook)

webpage14_01.jsp

<%@ page contentType="text/html; charset=utf-8" %>
<html>
<head>
<title>RESTful 웹 서비스</title>
</head>
<body>
    <h3>RESTful 웹 서비스</h3>
    <form action="./exam01" method="post">
        <p>이름:<input name="name"/>
        <p>나이:<input name="age"/>
        <p>이메일:<input name="email"/> 
        <p><input type="submit" value="확인"/>
    </form>
</body>
</html>

webpage14_result.jsp

<%@ page contentType="text/html; charset=utf-8" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<html>
<head>
<title>RESTful 웹 서비스</title>
</head>
<body>
    <h3>RESTful 웹 서비스</h3>
    <p><% out.print(new java.util.Date()); %>
    <p>${title}
    <p>${result}
</body>
</html>
신간 소식 구독하기
뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.