This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE web-app PUBLIC | |
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" | |
"http://java.sun.com/dtd/web-app_2_3.dtd"> | |
<web-app /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE web-app PUBLIC | |
"-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" | |
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"> | |
<web-app /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Servlet 3.1 --> | |
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" | |
version="3.1"> | |
</web-app> | |
<!-- Servlet 3.0 --> | |
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api --> | |
<dependency> | |
<groupId>javax.servlet</groupId> | |
<artifactId>javax.servlet-api</artifactId> | |
<version>3.1.0</version> | |
</dependency> | |
<!-- https://mvnrepository.com/artifact/javax.servlet.jsp/jsp-api --> | |
<dependency> | |
<groupId>javax.servlet.jsp</groupId> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 링크를 추가해서 사용 --> | |
<!DOCTYPE html> | |
<html> | |
<title>My Web</title> | |
<script src="https://www.w3schools.com/lib/w3.js"></script> | |
<!-- js파일을 다운 받아 같은 위치에서 사용 --> | |
<!DOCTYPE html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Middle Column --> | |
<div class="w3-col m7"> | |
<div class="w3-row-padding"> | |
<div class="w3-col m12"> | |
<div class="w3-card-2 w3-round w3-white"> | |
<div class="w3-container w3-padding"> | |
<h6 class="w3-opacity">Social Media template by w3.css</h6> | |
<p contenteditable="true" class="w3-border w3-padding">Status: Feeling Blue</p> | |
<button type="button" class="w3-btn w3-theme"><i class="fa fa-pencil"></i> Post</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE | |
tb_person p | |
SET | |
p.person_total_mileage = | |
(SELECT | |
SUM(mct.mileage_cate_price - m.mileage_use_price) | |
FROM | |
tb_mileage m | |
JOIN | |
tb_mileage_cate mct |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<title>W3.CSS Template</title> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="https://www.w3schools.com/lib/w3.css"> | |
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Inconsolata"> | |
<style> | |
body, html { | |
height: 100%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Insert title here</title> | |
<script src="//code.jquery.com/jquery.min.js"></script> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> | |
<script type="text/javascript"> | |
$(function() { | |
$('#endDate').change(function(e) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
function addzero(n){ // 한자리가 되는 숫자에 "0"을 넣어주는 함수 | |
return n < 10 ? "0" + n: n; | |
} | |
function dateInput(n,m){ | |
$("#StartDate").val(""); // 우선 이미 들어가있는 값 초기화 | |
$("#EndDate").val(""); | |
var date = new Date(); |