- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="EUC-KR">
- </head>
- <body>
- <!--
- 2. two.jsp - model1
- -->
- <form method="post" action="/Three">
- 단을 입력하세요
- <input type="text" name="dan">
- <input type="submit">
- </form>
- </body>
- </html>
2. two.jsp
- <%@ page language="java" contentType="text/html; charset=EUC-KR"
- pageEncoding="EUC-KR"%>
- <%@ page import="com.example.*" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
- <title>Insert title here</title>
- </head>
- <body>
- <%
- GuGu gugu = new GuGu();
- out.print(str);
- %>
- </body>
- </html>
3. GuGu.java
댓글 없음:
댓글 쓰기