ํ๋ก์ ํธ ๊ตฌ์กฐ index.html ํด๋ผ์ด์ธํธ๊ฐ ๋ก๊ทธ์ธ์ ์ํํ ํ์ด์ง ์ ๋๋ค. This is login page ์์ด๋ : ๋น๋ฐ๋ฒํธ : ๋ก๊ทธ์ธ kithubServer.js ์น์๋ฒ๊ฐ ๋ js ํ์ผ์ ๋๋ค. ๊ตฌ์ฑ ๋ชจ๋ : path : ํ์ผ ๋ฐ ๋๋ ํ ๋ฆฌ ๊ฒฝ๋ก์ ๊ด๋ จ๋ ๋ชจ๋ static : ํน์ ํด๋์ ํ์ผ๋ค์ ํน์ ํจ์ค๋ก ์ ๊ทผํ ์ ์๋๋ก ํด์ฃผ๋ ๋ฏธ๋ค์จ์ด var express = require('express') , http = require('http') , path = require('path') , static = require('serve-static'); var app = express(); app.use('/',static(path.join(__dirname,'html'))); http.createS..
์ ๊น ! java๊ฐ ์ค์น๋์ด ์์ด์ผํฉ๋๋ค. GeoServer ์์๋ Java 8 ํ๊ฒฝ์์ ๋์๊ฐ๋๋ค. 1. ์๋ ์ฌ์ดํธ๋ก ์ ์ํด์ 'window installer' ๋ฅผ ๋ค์ด๋ก๋ ํด์ค๋๋ค. http://geoserver.org/release/2.15.0/ ๋ถ๋ฌ์ค๋ ์ค์ ๋๋ค... 2. geoserver ์ค์น 'Next' ํด๋ฆญ ' I Agree ' ํด๋ฆญ.. ' Next ' ํด๋ฆญ.... ' Next ' ํด๋ฆญ..... ' Next ' ํด๋ฆญ...... ๊ธฐ์กด์ 2.14๋ฒ์ ์ด ์ค์น๊ฐ ๋์ด ์์๋์ง๋ผ Exsiting data directory ์ ๊ฒฝ๋ก๊ฐ ํ์๋ ์๋ค์ ' Next ' ํด๋ฆญ....... geoserver ๊ด๋ฆฌ์ ๊ณ์ ์ ์ค์ ํด์ค๋๋ค. ๊ทธ๋ฆฌ๊ณ ' Next ' ํด๋ฆญ........ geoserver ์์ ์ฌ์ฉ๋ ..
์ ๊ทผ๋ฐฉ๋ฒ 1. ์ ๋ ฅํ ์๊น์ง์ ๋ชจ๋ ์ผ์๋ฅผ ๋ํ๋ค. (ex 3์ => 31+28+31) 2. ํด๋น ์์ ๋ง์ง๋ง ์ผ์ - ์ ๋ ฅํ ์ผ์ (ex 3์ 10์ผ => 31 - 10 ) 3. ๋ชจ๋ ์ผ์ - (์ ๋ ฅ ์์ ๋ง์ง๋ง์ผ์ - ์ ๋ ฅ ์ผ์ ) = >totalDate 4. totalDate๋ฅผ 7๋ก ๋๋ ๋๋จธ์ง์ ๊ฐ์ ์์ผ๋ก ์ ์ (1=์, 2= ํ .... ) public static void main(String[] args) { int[] months = {31,28,31,30,31,30,31,31,30,31,30,31}; char[] days = {'์','ํ','์','๋ชฉ','๊ธ','ํ ','์ผ'}; int totalDate = 0; Scanner scanner = new Scanner(System.in); ..
์ ๊ทผ๋ฐฉ๋ฒ 1. ๋จ์ด์ ๋จ์ด์ฌ์ด์๋ ๊ณต๋ฐฑ์ด ์กด์ฌํจ์ผ๋ก, ๋์์ฐ๊ธฐ(๊ณต๋ฐฑ)์ ๊ฐฏ์๋ก ๋จ์ด์๋ฅผ ํ๋จ. 2. ๋ฌธ์ฅ ๋์ ๋์์ฐ๊ธฐ๊ฐ ์กด์ฌํ๋ ๊ฒฝ์ฐ๋ฅผ ํ๋จํ์ฌ ๊ฒฐ๊ณผ๋ณ์์ ์ด๊ธฐ๊ฐ์ด ๋ฌ๋ผ์ง๋ค. 3. ๋ฌธ์ฅ์ ํ๊ธ์์ฉ ๋น๊ตํ๋ฉด์ ๋์์ฐ๊ธฐ๊ฐ ๋ํ๋๋ฉด ๋จ์ด์ ๊ฐฏ์๋ฅผ ์ฆ๊ฐ์ํจ๋ค. ์ฆ, A_B_C = ๋์์ฐ๊ธฐ๊ฐ 2๊ฐ์ด๋ฏ๋ก ์ด๊ธฐ๊ฐ wordCnt = 1; A_B_C_ = ๋์์ฐ๊ธฐ๊ฐ 3๊ฐ์ด๋ฏ๋ก ์ด๊ธฐ๊ฐ wordCnt = 0; public class Main { public static void main(String[] args) { String content = "Teullinika Teullyeotzi"; char[] list = content.toCharArray(); int wordCnt = list[content.length()-..
์ ๊ทผ๋ฐฉ๋ฒ 1. ํฌ๋ก์ํฐ์ ์ํ๋ฒณ ๋ฆฌ์คํธ๋ฅผ ๋ง๋ ๋ค. 2. ์ ๋ ฅ๋ ๋ฌธ์์ด๊ณผ ํฌ๋ก์ํฐ์ ์ํ๋ฒณ ๋ฆฌ์คํธ๋ฅผ ๋น๊ตํ๋ค. 3. ํฌ๋ก์ํฐ์ ์ํ๋ฒณ์ ๋ชจ๋ # ์ผ๋ก ๋ณ๊ฒฝ ํด์ค๋ค. 4. ์ํ๋ฒณ ํฌ๊ธฐ๋ฅผ ์ถ๋ ฅํ๋ค. public class Main { public static void main(String[] args) { // ๋น๊ต ๋ฌธ์์ด String[] alphabetList = {"c=","c-","dz=","d-","lj","nj","s=","z="}; String work = "ljes=njaknjnj"; for(int i = 0 ; i < alphabetList.length ;i++) { if(work.contains(alphabetList[i])) { work = work.replace(alphabetList[i]..
์คํ๋ง๋ถํธ๋ฅผ ์คํ์ ์๋ ์ ๊ฐ์ ์๋ฌ๊ฐ ๋ฐ์ ํ์๋ค๋ฉด DataSource์ ์ค์ ์ด ์ ๋๋ก ์ด๋ฃจ์ด์ง์ง ์์์ ์๊ธฐ๋ ๋ฌธ์ ์ด๋ค. ***************************APPLICATION FAILED TO START*************************** Description:Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.Reason: Failed to determine a suitable driver classAction:Consider the following: If you want an embedded database (H2,..
SELECT mo.order_id AS order_PK, dt.order_id AS order_FK, GROUP_CONCAT(mp.prod_name) as prod_list FROM mkds_orders mo, mkds_order_details dt, mkds_products mp WHERE dt.prod_id = mp.prod_id and mo.order_id = dt.order_id GROUP BY mo.order_id ๊ฒฐ๊ณผ