<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ page session="false" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script src="js/jquery-2.2.4.min.js"></script>
<title>test</title>
</head>
<body>
<h1>
Hello world!
</h1>
</html>
JSTL을 JSP에 적용할려면 위와 같이 상단에
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
그럼, 즐 코딩 하세요.^^
500 error The absolute uri: [http://java.sun.com/jsp/jstl/core] cannot be resolved (0) | 2018.12.21 |
---|---|
Spring Project 만들기 (0) | 2018.12.20 |
HTTP 405 에러. (0) | 2018.12.13 |
Spring Security 사용법 (0) | 2018.12.13 |
이클립스 workspace에서 프로젝트 불러오기 (0) | 2018.11.22 |
댓글 영역