Notice
Recent Posts
Recent Comments
Gentle Breeze
[jsp] JSP에서 인스턴스 변수 사용하기 본문
<%@ page language="java" contentType="text/html; charset=EUC-KR"
pageEncoding="EUC-KR"%>
<%!
int accessCount = 0;
%>
<%
accessCount++;
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
</head>
<body>
<%= accessCount %>
</body>
</html>
'⑥ PreSTC > jsp / Servlet' 카테고리의 다른 글
[jsp] include (0) | 2008.07.23 |
---|---|
[Servlet] Request Dispatcher (0) | 2008.07.23 |
[jsp/Servlet] Request Dispatch vs. Send Redirect (0) | 2008.07.23 |
[Servlet] web.xml <1> (0) | 2008.07.22 |
[jsp/Servlet] jsp에서 Servlet 으로 변환 (0) | 2008.07.22 |
Comments