(1) 일반 HTML 창 객체

2200 단어
<%@ page language="java" import="java.util.*" pageEncoding="GB18030"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title> HTML </title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

	</head>

	<body>
		<form>
			<div align="left">
				 :
				<input type="text" name="name" size="20" maxlength="10" />
				<%-- 10  --%>
				<br />
				 : 
				<input type="radio" name="sex" value=" " checked="checked" />
				<%-- ,  --%>
				 
				<input type="radio" name="sex" value=" " />

				E-Mail:
				<input type="text" name="email" size="30" />
				<br />
				<br />
				 :
				<textarea name="suggest" rows="6" cols="30"></textarea>
				<br />
				<br />
				<input type="submit" value=" " />
				<input type="reset" value=" " />

			</div>
		</form>

	</body>
</html>

좋은 웹페이지 즐겨찾기