# Page header
<%@ page language="java" contentType="text/html; charset=euckr" pageEncoding="euckr"%>
# HTML CSS/Javascript
<link rel="stylesheet" href="./css/dtree.css" type="text/css" />
<script type="text/javascript" src="./js/jindo.all.js"></script>
<script type="text/javascript" src="./js/jindo.all.js"></script>
# JSP File include
<%@ include file="/check.jsp" %>
# JSP Path
Context Path: <%= request.getContextPath() %>
Server information: <%= application.getServerInfo() %>
URL Path: <%= request.getRequestURI()%>
Application Path: <%= application.getRealPath("/") %>
# JSP 한글처리
POST 방식: <%= request.setCharacterEncoding("euc-kr") %>
GET 방식: Server.xml
<Connector URIEncoding = "EUC-KR" ...
# JSTL SQL
<sql:transaction dataSource="${ds}">
<sql:query var="rs">
<sql:param value="${test} />
</sql:query>
</sql:transaction>
<c:if test="${empty rs.rows}">
<c:forEach var="r" items="${rs.rows}">
${r.En}
</c:forEach>
</c:if>
'Technology > Programming' 카테고리의 다른 글
Tools / SVN 용어 설명 (0) | 2010.02.23 |
---|---|
HTML / HTML5 Tags (0) | 2010.02.07 |
HTML / HTML5 Article (0) | 2010.02.02 |
Flash Chart / Open flash chart (0) | 2010.01.18 |
FLEX / Flex Chart example (0) | 2010.01.14 |