<%@ page contentType="text/html; charset=utf-8"%>
<!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=utf-8">
<title>outTest.jsp</title>
</head>
<body>
<%= 10%3 %><br> <!-- Expression -->
<% out.print(10%3); %><br> <!-- Scriptlet -->
${10%3}<br> <!-- EL(Expression Language) -->
</body>
</html>
'2020년도 이전 > [WebSig] JSP_Servlet' 카테고리의 다른 글
ServletContext 객체를 사용해서 웹 컨텍스트 아래 파일 자원 내용 읽어오기 (0) | 2013.08.01 |
---|---|
pageContext 기본 객체 (0) | 2013.08.01 |
요청 전달 ==> 2. sendRedirect방식 (0) | 2013.07.31 |
요청 전달 ==> 1. RequestDispatcher방식 (0) | 2013.07.31 |
JSP/Servlet request 객체 (0) | 2013.07.31 |