text
stringlengths
105
2.99k
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค ์„ค์น˜ ### Assistant: ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค๋Š” ๋„ฅ์‚ฌํฌ๋กœ ์„ค์น˜ ํŒจํ‚ค์ง€์— ํฌํ•จ๋˜์–ด ๋ฐฐํฌ๋ฉ๋‹ˆ๋‹ค. ๋ฐฐํฌ๋œ Setup ํŒŒ์ผ์„ ์‹คํ–‰ํ•˜๋ฉด ์„ค์น˜ ๊ณผ์ •์ด ์ง„ํ–‰๋ฉ๋‹ˆ๋‹ค. ๋…ธํŠธ: Setup ํŒŒ์ผ์€ 32๋น„ํŠธ, 64๋น„ํŠธ ๋ฒ„์ „์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค. 32๋น„ํŠธ: NexacroN_SetupStudio.exe 64๋น„ํŠธ: NexacroN_SetupStudio_x64.exe ๋‘ ๊ฐ€์ง€ ๋ฒ„์ „์„ ๋ชจ๋‘ ์„ค์น˜ํ•  ์ˆ˜๋Š” ์—†์Šต๋‹ˆ๋‹ค. ๊ธฐ์กด์— ์„ค์น˜๋œ ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค 32๋น„ํŠธ ๋ฒ„์ „์„ 64๋น„ํŠธ ๋ฒ„์ „์œผ๋กœ ์—…๋ฐ์ดํŠธํ•  ๊ฒฝ์šฐ์—๋Š” 32๋น„ํŠธ ๋ฒ„์ „์„ ์‚ญ์ œํ•˜๊ณ  64๋น„ํŠธ ๋ฒ„์ „์„ ์„ค์น˜ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ์—…๋ฐ์ดํŠธ ์‹œ ๊ธฐ์กด ๋ฒ„์ „์—์„œ ์‚ฌ์šฉํ•˜๋˜ ์˜ต์…˜, ํ”„๋กœ์ ํŠธ ๋ชฉ๋ก ๋“ฑ ์ •๋ณด๋Š” ๊ทธ๋Œ€๋กœ ์œ ์ง€๋ฉ๋‹ˆ๋‹ค. ์ฃผ์˜: Setup ํŒŒ์ผ ์‹คํ–‰ ์‹œ ๋ณด์•ˆ๊ฒฝ๊ณ ์ฐฝ์ด ๋‚˜ํƒ€๋‚  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋ฐ˜๋“œ์‹œ โ€˜์‹คํ–‰โ€™์„ ์„ ํƒํ•ด ์ฃผ์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค. ๋ฐ”ํƒ• ํ™”๋ฉด์— ๋‹จ์ถ• ์•„์ด์ฝ˜์„ ๋งŒ๋“ค๊ณ ์ž ํ•œ๋‹ค๋ฉด '๋ฐ”ํƒ• ํ™”๋ฉด์— ~ ์•„์ด์ฝ˜ ์ƒ์„ฑ' ํ•ญ๋ชฉ์„ ์ฒดํฌํ•ฉ๋‹ˆ๋‹ค. 'Nexacro ์‹คํ–‰ํ™˜๊ฒฝ ์„ค์น˜'๋Š” ์ตœ์ดˆ ์„ค์น˜ ์‹œ์—๋Š” ์ฒดํฌ๋˜์–ด์•ผ ํ•˜๋Š” ํ•ญ๋ชฉ์ด๋ฉฐ ๊ธฐ์กด SDK๋ฅผ ์œ ์ง€ํ•˜๊ณ  ๊ฐœ๋ฐœ๋„๊ตฌ๋งŒ ์—…๋ฐ์ดํŠธํ•˜๋Š” ๊ฒฝ์šฐ์—๋Š” ์ฒดํฌํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค ์„ค์น˜|๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค ์„ค์น˜/1.jpg</ImgTag> [์ข…๋ฃŒ] ๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜์—ฌ ํ”„๋กœ๊ทธ๋žจ ์„ค์น˜๋ฅผ ์™„๋ฃŒํ•ฉ๋‹ˆ๋‹ค. 'Nexacro Studio ์‹คํ–‰' ํ•ญ๋ชฉ์ด ์ฒดํฌ๋œ ๊ฒฝ์šฐ์—๋Š” ์„ค์น˜ ์™„๋ฃŒ ํ›„ ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค๋ฅผ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค ์„ค์น˜|๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค ์„ค์น˜/2.jpg</ImgTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ์„ค์น˜ ํŒŒ์ผ ### Assistant: ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค๋ฅผ ์„ค์น˜ํ•œ ํด๋” ๋‚ด ์ƒ์„ฑ๋˜๋Š” ์ฃผ์š” ํŒŒ์ผ๊ณผ ํด๋”๋Š” ์•„๋ž˜์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค ์„ค์น˜|์„ค์น˜ ํŒŒ์ผ/1.png</ImgTag> ๋…ธํŠธ: ์„ค์น˜ํ•˜๋Š” ์ œํ’ˆ ๋ฒ„์ „์— ๋”ฐ๋ผ ์„ค์น˜๋œ ํŒŒ์ผ ๋ชฉ๋ก์ด ์ผ๋ถ€ ๋ณ€๊ฒฝ๋  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋…ธํŠธ: 64๋น„ํŠธ ์šด์˜์ฒด์ œ๋ฅผ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ๋‹ค๋ฉด SDK ํด๋” ๋‚ด 64๋น„ํŠธ์šฉ ์‹คํ–‰ ํŒŒ์ผ์€ %ProgramFiles% ํด๋”์—๋„ ์„ค์น˜๋ฉ๋‹ˆ๋‹ค.</s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ๋ฒ„์ „ ํ™•์ธ ### Assistant: ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค์˜ ๋ฉ”๋‰ด[Help > About Nexacro Studio]๋ฅผ ์„ ํƒํ•˜๋ฉด ์„ค์น˜๋œ ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค์˜ ๋ฒ„์ „๊ณผ ๋“ฑ๋ก๋œ ๋ผ์ด์„ ์Šค ์ •๋ณด๋ฅผ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค ์„ค์น˜|๋ฒ„์ „ ํ™•์ธ/1.jpg</ImgTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ์‹คํ–‰ ํ™˜๊ฒฝ ์„ค์ • ### Assistant: ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค๋ฅผ ์ฒ˜์Œ ์„ค์น˜ํ•˜๋ฉด 60์ผ ๋™์•ˆ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋Š” ์ฒดํ—˜ํŒ์œผ๋กœ ์„ค์ •๋ฉ๋‹ˆ๋‹ค. ์ตœ์ดˆ ์‹คํ–‰ ์‹œ ๊ฒฝ๊ณ  ํŒ์—… ์ฐฝ์ด ํ‘œ์‹œ๋˜๋Š”๋ฐ [OK] ๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜๋ฉด ๋‹ค์Œ ๋‹จ๊ณ„๋กœ ์ง„ํ–‰ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ œํ’ˆ์„ ๊ตฌ๋งคํ•œ ๊ฒฝ์šฐ์—๋Š” ๋ฐœ๊ธ‰๋ฐ›์€ Product Key๋ฅผ ์ž…๋ ฅํ•ด ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค ์„ค์น˜|์‹คํ–‰ ํ™˜๊ฒฝ ์„ค์ •/1.jpg</ImgTag> ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค ์‹คํ–‰ ํ™˜๊ฒฝ์„ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค. Perspective, Command Type, Theme๋ฅผ ์„ค์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์„ค์ •ํ•œ ํ•ญ๋ชฉ์€ ๋ฉ”๋‰ด[Options > Environment > General > Development Tools]์—์„œ ๋ณ€๊ฒฝํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค ์„ค์น˜|์‹คํ–‰ ํ™˜๊ฒฝ ์„ค์ •/2.jpg</ImgTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ๋ผ์ด์„ ์Šค ์ธ์ฆ ### Assistant: ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค์˜ ๋ฉ”๋‰ด[Help > About Nexacro Studio]๋ฅผ ํด๋ฆญํ•˜๊ณ  ๋ฒ„์ „ ํ™•์ธ์ฐฝ์—์„œ 'Enter New License' ๋ฒ„ํŠผ์„ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค. ๋ผ์ด์„ ์Šค ์ž…๋ ฅ ์ฐฝ์—๋Š” 'Application/Service Name'๊ณผ 'Developer License Key' 2๊ฐœ ํ•ญ๋ชฉ์„ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค ์„ค์น˜|๋ผ์ด์„ ์Šค ์ธ์ฆ/1.jpg</ImgTag> ์ •์ƒ์ ์ธ ๊ฐ’์ด ์ž…๋ ฅ๋˜์—ˆ๋‹ค๋ฉด ์•„๋ž˜์™€ ๊ฐ™์€ ๋ฉ”์‹œ์ง€๊ฐ€ ๋œจ๋ฉด์„œ ๋ผ์ด์„ ์Šค ์ธ์ฆ์„ ์ฒ˜๋ฆฌํ•ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค ์„ค์น˜|๋ผ์ด์„ ์Šค ์ธ์ฆ/2.jpg</ImgTag> ์ž˜๋ชป๋œ ๊ฐ’์„ ์ž…๋ ฅํ•˜๊ฑฐ๋‚˜ ์ด๋ฏธ ์ธ์ฆ๋œ ์ฝ”๋“œ๋ฅผ ์ž…๋ ฅํ•˜๋ฉด ์•„๋ž˜์™€ ๊ฐ™์€ ๋ฉ”์‹œ์ง€๊ฐ€ ๋œจ๋ฉด์„œ ๋ผ์ด์„ ์Šค ์ธ์ฆ์ด ์ฒ˜๋ฆฌ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค ์„ค์น˜|๋ผ์ด์„ ์Šค ์ธ์ฆ/3.jpg</ImgTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: Hello Nexacro ### Assistant: ๋„ฅ์‚ฌํฌ๋กœ ๊ฐœ๋ฐœ ํ™˜๊ฒฝ์„ ์ดํ•ดํ•˜๊ณ  ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค๋ฅผ ๋‹ค๋ฃจ๋Š” ๊ธฐ๋ณธ์ ์ธ ๋ฐฉ๋ฒ•์„ ๋ฐฐ์šฐ๊ธฐ ์œ„ํ•ด ๊ฐ„๋‹จํ•œ ์•ฑ์„ ์ž‘์„ฑํ•ด๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค. ์ด๋ฒˆ ์žฅ์—์„œ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๋‚ด์šฉ์„ ๋‹ค๋ฃน๋‹ˆ๋‹ค. ํ™”๋ฉด์— 'Hello, Nexacro!'์ด๋ผ๋Š” ํ…์ŠคํŠธ๋ฅผ ๋ณด์—ฌ์ฃผ๊ณ  ํ…์ŠคํŠธ๋ฅผ ํด๋ฆญํ–ˆ์„ ๋•Œ ๊ฒฝ๊ณ ์ฐฝ์— 'Nexacro N'์ด๋ผ๋Š” ํ…์ŠคํŠธ๋ฅผ ๋ณด์—ฌ์ฃผ๋Š” ์•ฑ์„ ๋งŒ๋“ญ๋‹ˆ๋‹ค.</s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค ์‹คํ–‰ํ•˜๊ธฐ ### Assistant: PC์— ์„ค์น˜๋œ ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค๋ฅผ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค. ์„ค์น˜ ๊ณผ์ •์—์„œ ๋ฐ”ํƒ•ํ™”๋ฉด์— ์•„์ด์ฝ˜์„ ์ƒ์„ฑํ–ˆ๋‹ค๋ฉด ํ•ด๋‹น ์•„์ด์ฝ˜์„ ๋”๋ธ” ํด๋ฆญํ•ด ๋ฐ”๋กœ ์‹คํ–‰ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|Hello Nexacro|๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค ์‹คํ–‰ํ•˜๊ธฐ/1.jpg</ImgTag> ๋‹จ์ถ• ์•„์ด์ฝ˜์„ ์ƒ์„ฑํ•˜์ง€ ์•Š์•˜๋‹ค๋ฉด ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค๊ฐ€ ์„ค์น˜๋œ ํด๋”์—์„œ ์‹คํ–‰ ํŒŒ์ผ์„ ๋”๋ธ” ํด๋ฆญํ•ด ์‹คํ–‰ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค๊ฐ€ ์„ค์น˜๋œ ๊ฒฝ๋กœ๋Š” ์•„๋ž˜์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค. C:\[Program Files]\TOBESOFT\Nexacro N\Tools\nexacrostudio.exe ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค ์„ค์น˜ ํ›„ ์ตœ์ดˆ ์‹คํ–‰ ์‹œ์—๋Š” ์–ด๋–ค ํ”„๋กœ์ ํŠธ๋„ ์—ด๋ฆฌ์ง€ ์•Š์€ ์ƒํƒœ์ž…๋‹ˆ๋‹ค. ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค์˜ ํ™”๋ฉด ๊ตฌ์„ฑ์€ ์•„๋ž˜์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|Hello Nexacro|๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค ์‹คํ–‰ํ•˜๊ธฐ/2.jpg</ImgTag> <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|Hello Nexacro|๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค ์‹คํ–‰ํ•˜๊ธฐ/1.png</ImgTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ๋„ฅ์‚ฌํฌ๋กœ ํ”„๋กœ์ ํŠธ ๋งŒ๋“ค๊ธฐ ### Assistant: ๋„ฅ์‚ฌํฌ๋กœ ์•ฑ์„ ๋งŒ๋“ค๊ธฐ ์œ„ํ•ด์„œ๋Š” ํ”„๋กœ์ ํŠธ๋ฅผ ๋จผ์ € ๋งŒ๋“ค์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ๋ชจ๋“  ๋„ฅ์‚ฌํฌ๋กœ ์•ฑ์€ ํ”„๋กœ์ ํŠธ์—์„œ ์ง€์ •๋œ ์†์„ฑ์„ ๊ธฐ๋ฐ˜์œผ๋กœ ์‚ฌ์šฉ์ž ํ™”๋ฉด์— ๋ณด์ด๊ณ  ๋™์ž‘ํ•˜๊ฒŒ ๋ฉ๋‹ˆ๋‹ค. ํ”„๋กœ์ ํŠธ๋Š” ์ƒˆ๋กœ ๋งŒ๋“ค๊ฑฐ๋‚˜ ์ด๋ฏธ ๋งŒ๋“ค์–ด์ง„ ํ…œํ”Œ๋ฆฟ ํ”„๋กœ์ ํŠธ๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ด๋ฒˆ ์žฅ์—์„œ๋Š” ์ƒˆ๋กœ์šด ํ”„๋กœ์ ํŠธ๋ฅผ ๋งŒ๋“ญ๋‹ˆ๋‹ค. ๋ชจ๋“  ์ž‘์—…์€ ๋ฉ”๋‰ด ๋˜๋Š” ํˆด๋ฐ”, ๋‹จ์ถ•ํ‚ค๋กœ ์‹คํ–‰ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ด๋ฒˆ ์žฅ์—์„œ ์ปดํฌ๋„ŒํŠธ ๋ฐฐ์น˜๋ฅผ ์ œ์™ธํ•œ ๋ชจ๋“  ์ž‘์—…์€ ๋ฉ”๋‰ด๋ฅผ ๊ธฐ์ค€์œผ๋กœ ์„ค๋ช…ํ•ฉ๋‹ˆ๋‹ค. ๋„ฅ์‚ฌํฌ๋กœ ํ”„๋กœ์ ํŠธ๋ฅผ ๋งŒ๋“ค๊ธฐ ์œ„ํ•œ ๋ฉ”๋‰ด๋Š” ์•„๋ž˜์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค. New Project Wizard๊ฐ€ ์‹คํ–‰๋˜๋ฉฐ ์ˆœ์„œ์— ๋”ฐ๋ผ ์ƒˆ๋กœ์šด ํ”„๋กœ์ ํŠธ๋ฅผ ๋งŒ๋“ญ๋‹ˆ๋‹ค. [Menu] File > New > Project <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|Hello Nexacro|๋„ฅ์‚ฌํฌ๋กœ ํ”„๋กœ์ ํŠธ ๋งŒ๋“ค๊ธฐ/1.jpg</ImgTag> ์ƒˆ๋กœ์šด ํ”„๋กœ์ ํŠธ๋ฅผ ๋งŒ๋“ค๊ธฐ ์œ„ํ•ด์„œ๋Š” ํ”„๋กœ์ ํŠธ ์ด๋ฆ„๊ณผ ํ”„๋กœ์ ํŠธ ํŒŒ์ผ์„ ์ €์žฅํ•  ์œ„์น˜๋ฅผ ์ง€์ •ํ•ด์ฃผ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. 'Name' ํ•ญ๋ชฉ์— ํ”„๋กœ์ ํŠธ ์ด๋ฆ„์„ ์ง€์ •ํ•˜๊ณ  'Location' ํ•ญ๋ชฉ์— ์ €์žฅํ•  ์œ„์น˜๋ฅผ ์ง€์ •ํ•ฉ๋‹ˆ๋‹ค. ์ด๋ฒˆ ์˜ˆ์ œ์—์„œ๋Š” ์•„๋ž˜์™€ ๊ฐ™์ด ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|Hello Nexacro|๋„ฅ์‚ฌํฌ๋กœ ํ”„๋กœ์ ํŠธ ๋งŒ๋“ค๊ธฐ/1.png</ImgTag> Screen ํ•ญ๋ชฉ๊ณผ Screen Detail ํ•ญ๋ชฉ์„ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค. ์ด๋ฒˆ ์žฅ์—์„œ๋Š” ๊ธฐ๋ณธ๊ฐ’์„ ๊ทธ๋Œ€๋กœ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. Screen ํ•ญ๋ชฉ์€ 'Desktop'์„ ์„ ํƒํ•˜๊ณ  ์ž๋™์œผ๋กœ ์ƒ์„ฑ๋˜๋Š” Screen ์ •๋ณด๋„ ๊ทธ๋Œ€๋กœ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|Hello Nexacro|๋„ฅ์‚ฌํฌ๋กœ ํ”„๋กœ์ ํŠธ ๋งŒ๋“ค๊ธฐ/2.jpg</ImgTag> Frame ํ•ญ๋ชฉ์€ 'Full' ์˜ต์…˜์„ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค. 'Full' ์˜ต์…˜์„ ์„ ํƒํ•˜๋ฉด ๊ธฐ๋ณธ ํ”„๋ ˆ์ž„ ๊ตฌ์กฐ์™€ Form์„ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค. Screen ๊ด€๋ จ ์„ค์ •์ด๋‚˜ Frame ์„ค์ •์€ ํ”„๋กœ์ ํŠธ ์ƒ์„ฑ ํ›„์— ์ˆ˜์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. [Finish] ๋ฒ„ํŠผ์„ ํด๋ฆญํ•ด ํ”„๋กœ์ ํŠธ๋ฅผ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|Hello Nexacro|๋„ฅ์‚ฌํฌ๋กœ ํ”„๋กœ์ ํŠธ ๋งŒ๋“ค๊ธฐ/3.jpg</ImgTag> ํ”„๋กœ์ ํŠธ๊ฐ€ ๋งŒ๋“ค์–ด์ง€๋ฉด์„œ ํ”„๋กœ์ ํŠธ ํƒ์ƒ‰์ฐฝ์— ํ”„๋กœ์ ํŠธ ๊ตฌ์„ฑ ์š”์†Œ๊ฐ€ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค. ๊ฐ ๊ตฌ์„ฑ ์š”์†Œ์— ๋Œ€ํ•œ ์„ธ๋ถ€์ ์ธ ์„ค๋ช…์€ ์ด๋ฒˆ ์˜ˆ์ œ์—์„œ ๋‹ค๋ฃจ์ง€ ์•Š๊ณ  ๋„ฅ์‚ฌํฌ๋กœ ์•ฑ ๋งŒ๋“ค๊ธฐ๋กœ ๋„˜์–ด๊ฐ‘๋‹ˆ๋‹ค. ๋…ธํŠธ: ์ด๋ฒˆ ์žฅ์—์„œ ์„ค๋ช…ํ•˜๋Š” ๊ฒฝ๋กœ๋Š” ์œˆ๋„์šฐ 10 ์šด์˜์ฒด์ œ๋ฅผ ๊ธฐ์ค€์œผ๋กœ ์„ค๋ช…ํ•ฉ๋‹ˆ๋‹ค. ์šด์˜์ฒด์ œ์— ๋”ฐ๋ผ ์„ค์ •๋œ ๊ฒฝ๋กœ๊ฐ€ ๋‹ฌ๋ผ์งˆ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋…ธํŠธ: Location ํ•ญ๋ชฉ์„ ๋”ฐ๋กœ ์ง€์ •ํ•ด์ฃผ์ง€ ์•Š์œผ๋ฉด ์•„๋ž˜ ๊ฒฝ๋กœ๋กœ ์ž๋™ ์ง€์ •๋ฉ๋‹ˆ๋‹ค. C:\Users\[User]\Documents\TOBESOFT\Nexacro N\projects\</s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ๋„ฅ์‚ฌํฌ๋กœ ์•ฑ ๋งŒ๋“ค๊ธฐ ### Assistant: ๋„ฅ์‚ฌํฌ๋กœ ์—ก์€ ํผ(Form)์„ ๊ธฐ๋ฐ˜์œผ๋กœ ๋™์ž‘ํ•ฉ๋‹ˆ๋‹ค. ํ”„๋กœ์ ํŠธ๊ฐ€ ์•ฑ์„ ์œ„ํ•œ ๋ฌด๋Œ€๋ฅผ ๋งŒ๋“  ๊ฒƒ์ด๋ผ๋ฉด ๋ฌด๋Œ€๋ฅผ ๊พธ๋ฏธ๊ณ  ๋™์„ ์„ ๋ฐฐ์น˜ํ•˜๊ณ  ํšจ๊ณผ๋ฅผ ์ถ”๊ฐ€ํ•˜๋Š” ์ž‘์—…์€ ํผ์—์„œ ๋‹ด๋‹นํ•ฉ๋‹ˆ๋‹ค.</s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ๋„ฅ์‚ฌํฌ๋กœ ์•ฑ ๋งŒ๋“ค๊ธฐ ์ปดํฌ๋„ŒํŠธ ๋ฐฐ์น˜ ### Assistant: Project Explorer ํ•˜๋‹จ์— ์ƒ์„ฑ๋œ Form_Work ํ•ญ๋ชฉ์„ ๋”๋ธ” ํด๋ฆญํ•˜๋ฉด Form Design ์ฐฝ์ด ํ™œ์„ฑํ™”๋ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|Hello Nexacro|๋„ฅ์‚ฌํฌ๋กœ ์•ฑ ๋งŒ๋“ค๊ธฐ|์ปดํฌ๋„ŒํŠธ ๋ฐฐ์น˜/1.jpg</ImgTag> ํŒ: ํ™”๋ฉด์— ๋ณด์ด๋Š” ํˆด๋ฐ”๋Š” ์„ค์ •์— ๋”ฐ๋ผ ๋‹ฌ๋ผ์งˆ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ํ™”๋ฉด์— ๋‚˜ํƒ€๋‚˜๋Š” ํˆด๋ฐ”๋Š” [View > Toolbars] ๋ฉ”๋‰ด์—์„œ ์„ค์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋…ธํŠธ: ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค ๋ฉ”๋‰ด๋Š” ๋ฆฌ๋ณธ ๋ฉ”๋‰ด์™€ ์ปค๋งจ๋“œ ๋ฉ”๋‰ด ์ค‘ ํ•˜๋‚˜๋ฅผ ์„ ํƒํ•ด ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ด ๋ฌธ์„œ์—์„œ๋Š” ์ปค๋งจ๋“œ ๋ฉ”๋‰ด๋กœ ์„ค์ •๋œ ์ƒํƒœ์—์„œ ์„ค๋ช…ํ•ฉ๋‹ˆ๋‹ค. ๋„ฅ์‚ฌํฌ๋กœ ์•ฑ์—์„œ ๊ธ€์ž๋ฅผ ํ‘œ๊ธฐํ•  ๋•Œ๋Š” Static ์ปดํฌ๋„ŒํŠธ๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. 'Objects' ํˆด๋ฐ”์—์„œ Static ์ปดํฌ๋„ŒํŠธ <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|Hello Nexacro|๋„ฅ์‚ฌํฌ๋กœ ์•ฑ ๋งŒ๋“ค๊ธฐ|์ปดํฌ๋„ŒํŠธ ๋ฐฐ์น˜/2.jpg</ImgTag> ๋ฅผ ๋งˆ์šฐ์Šค๋กœ ์„ ํƒํ•˜๊ณ  Form Design ์ฐฝ์—์„œ ๋ฐฐ์น˜ํ•˜๊ธฐ ์›ํ•˜๋Š” ์œ„์น˜๋ฅผ ๋งˆ์šฐ์Šค๋กœ ํด๋ฆญํ•˜๋ฉด ๊ธฐ๋ณธ๊ฐ’์œผ๋กœ ์ •ํ•ด์ง„ ํฌ๊ธฐ๋กœ Static ์ปดํฌ๋„ŒํŠธ๊ฐ€ ๋ฐฐ์น˜๋ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|Hello Nexacro|๋„ฅ์‚ฌํฌ๋กœ ์•ฑ ๋งŒ๋“ค๊ธฐ|์ปดํฌ๋„ŒํŠธ ๋ฐฐ์น˜/3.jpg</ImgTag> ์ปดํฌ๋„ŒํŠธ๋ฅผ Form Design ์ฐฝ์— ๋ฐฐ์น˜ํ•  ๋•Œ ํฌ๊ธฐ๋ฅผ ์กฐ์ •ํ•˜๊ณ ์ž ํ•œ๋‹ค๋ฉด 'Objects' ํˆด๋ฐ”์—์„œ ์ปดํฌ๋„ŒํŠธ๋ฅผ ๋งˆ์šฐ์Šค๋กœ ์„ ํƒํ•˜๊ณ  ์ปดํฌ๋„ŒํŠธ๋ฅผ ๊ทธ๋ฆฌ๊ธฐ ์‹œ์ž‘ํ•  ์œ„์น˜์—์„œ ๋งˆ์šฐ์Šค ์™ผ์ชฝ ๋ฒ„ํŠผ์„ ๋ˆ„๋ฅธ ์ƒํƒœ์—์„œ ๋งˆ์šฐ์Šค๋ฅผ ๋“œ๋ž˜๊ทธํ•˜๋ฉด ์›ํ•˜๋Š” ํฌ๊ธฐ๋กœ ์ปดํฌ๋„ŒํŠธ๋ฅผ ๋ฐฐ์น˜ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ปดํฌ๋„ŒํŠธ๋ฅผ ๋ฐฐ์น˜ํ•œ ์ดํ›„์—๋„ ๋งˆ์šฐ์Šค๋กœ ์ปดํฌ๋„ŒํŠธ๋ฅผ ์„ ํƒํ•˜๊ณ  ์ปดํฌ๋„ŒํŠธ์˜ ํฌ๊ธฐ๋ฅผ ์กฐ์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|Hello Nexacro|๋„ฅ์‚ฌํฌ๋กœ ์•ฑ ๋งŒ๋“ค๊ธฐ|์ปดํฌ๋„ŒํŠธ ๋ฐฐ์น˜/4.jpg</ImgTag> Static ์ปดํฌ๋„ŒํŠธ์˜ ํ…์ŠคํŠธ๋ฅผ ์ˆ˜์ •ํ•  ๋•Œ๋Š” ์ปดํฌ๋„ŒํŠธ๋ฅผ ์„ ํƒํ•œ ํ›„ ๋‹จ์ถ•ํ‚ค(F2)๋ฅผ ๋ˆ„๋ฅด๋ฉด ํŽธ์ง‘ ๋ชจ๋“œ๋กœ ์ „ํ™˜๋˜๋ฉฐ ์ง์ ‘ ์ˆ˜์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. Form Design ์ฐฝ์ด ์•„๋‹Œ ์†์„ฑ ์ฐฝ์—์„œ๋„ ํ•ด๋‹น ์†์„ฑ์„ ์ˆ˜์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. Static ์ปดํฌ๋„ŒํŠธ๋ฅผ ์„ ํƒํ•˜๊ณ  ์†์„ฑ ์ฐฝ์—์„œ text ์†์„ฑ ํ•ญ๋ชฉ์„ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค. ์ˆ˜์ •ํ•  ์†์„ฑ๋ช…์„ ์•Œ๊ณ  ์žˆ๋Š” ๊ฒฝ์šฐ์—๋Š” ์ฐพ๊ธฐ ์›ํ•˜๋Š” ๋ฌธ์ž์—ด์„ ๊ฒ€์ƒ‰์ฐฝ์— ์ž…๋ ฅํ•˜๋ฉด ์›ํ•˜๋Š” ํ•ญ๋ชฉ์„ ๋ฐ”๋กœ ์ฐพ์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ด๋ฒˆ ์˜ˆ์ œ์—์„œ๋Š” 'text'๋ผ๋Š” ๋ฌธ์ž์—ด์„ ์ž…๋ ฅํ–ˆ์Šต๋‹ˆ๋‹ค. ๊ทธ๋ฆฌ๊ณ  text ์†์„ฑ๊ฐ’์„ 'Hello, Nexacro N'์œผ๋กœ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|Hello Nexacro|๋„ฅ์‚ฌํฌ๋กœ ์•ฑ ๋งŒ๋“ค๊ธฐ|์ปดํฌ๋„ŒํŠธ ๋ฐฐ์น˜/5.jpg</ImgTag> ํŒ: ์ปดํฌ๋„ŒํŠธ์˜ ํ…์ŠคํŠธ๋ฅผ Form Design ์ฐฝ์—์„œ ์ง์ ‘ ์ˆ˜์ •ํ•  ๋•Œ ์ปดํฌ๋„ŒํŠธ๋ฅผ ํด๋ฆญํ•ด์„œ ์„ ํƒํ•˜๊ณ  ๋‹ค์‹œ ํด๋ฆญํ•ด์„œ ํ…์ŠคํŠธ ํŽธ์ง‘ ์ƒํƒœ๋กœ ๋“ค์–ด๊ฐ‘๋‹ˆ๋‹ค. ํด๋ฆญ ์‚ฌ์ด์˜ ๊ฐ„๊ฒฉ์ด ์งง์œผ๋ฉด ๋”๋ธ”ํด๋ฆญ์œผ๋กœ ์ธ์‹๋˜์–ด onclick ์ด๋ฒคํŠธ ์Šคํฌ๋ฆฝํŠธ ํŽธ์ง‘์ฐฝ์œผ๋กœ ์ด๋™ํ•ฉ๋‹ˆ๋‹ค. ๋””์ž์ธ ํ™”๋ฉด์—์„œ Static ์ปดํฌ๋„ŒํŠธ๋ฅผ ์ œ์™ธํ•œ ์˜์—ญ์„ ํด๋ฆญํ•˜๋ฉด Form์ด ์„ ํƒ๋ฉ๋‹ˆ๋‹ค. ์†์„ฑ์ฐฝ์—์„œ width, height ์†์„ฑ๊ฐ’์„ 300, 200์œผ๋กœ ์ˆ˜์ •ํ•˜๊ณ  ์ €์žฅํ•ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|Hello Nexacro|๋„ฅ์‚ฌํฌ๋กœ ์•ฑ ๋งŒ๋“ค๊ธฐ|์ปดํฌ๋„ŒํŠธ ๋ฐฐ์น˜/6.jpg</ImgTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ๋„ฅ์‚ฌํฌ๋กœ ์•ฑ ๋งŒ๋“ค๊ธฐ NRE(Nexacro Runtime Environment)์—์„œ ์•ฑ ์‹คํ–‰ํ•˜๊ธฐ ### Assistant: ์ž‘์„ฑํ•œ ๋„ฅ์‚ฌํฌ๋กœ ์•ฑ์„ ํ™•์ธํ•˜๊ณ  ์‹ถ๋‹ค๋ฉด Quick View๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. Quick View๋ฅผ ์‹คํ–‰ํ•˜๋Š” ๋ฉ”๋‰ด๋Š” ์•„๋ž˜์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค. [Menu] Generate > Quick View ์‹คํ–‰ ์˜ต์…˜์„ ์„ค์ •ํ•  ์ˆ˜ ์žˆ๋Š” ์ฐฝ์ด ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค. ๊ธฐ๋ณธ ์„ค์ •์œผ๋กœ [Run] ๋ฒ„ํŠผ์„ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|Hello Nexacro|๋„ฅ์‚ฌํฌ๋กœ ์•ฑ ๋งŒ๋“ค๊ธฐ|NRE(Nexacro Runtime Environment)์—์„œ ์•ฑ ์‹คํ–‰ํ•˜๊ธฐ/1.jpg</ImgTag> <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|Hello Nexacro|๋„ฅ์‚ฌํฌ๋กœ ์•ฑ ๋งŒ๋“ค๊ธฐ|NRE(Nexacro Runtime Environment)์—์„œ ์•ฑ ์‹คํ–‰ํ•˜๊ธฐ/2.jpg</ImgTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ๋„ฅ์‚ฌํฌ๋กœ ์•ฑ ๋งŒ๋“ค๊ธฐ ์ด๋ฒคํŠธ ์ถ”๊ฐ€ ### Assistant: Static ์ปดํฌ๋„ŒํŠธ๋ฅผ ๋”๋ธ”ํด๋ฆญํ–ˆ์„ ๋•Œ ๊ฒฝ๊ณ ์ฐฝ์„ ๋ณด์—ฌ์ฃผ๋Š” ๊ธฐ๋Šฅ์„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. ์‚ฌ์šฉ์ž์˜ ํŠน์ • ํ–‰์œ„๋‚˜ ์กฐ๊ฑด์— ๋”ฐ๋ผ ๋‹ค๋ฅธ ๋™์ž‘์ด ๋ฐœ์ƒํ•˜๋Š” ๊ฒƒ์„ ์ด๋ฒคํŠธ๋ผ๊ณ  ํ•ฉ๋‹ˆ๋‹ค. ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค์—์„œ Static ์ปดํฌ๋„ŒํŠธ๋ฅผ ์„ ํƒํ•˜๊ณ  ์†์„ฑ์ฐฝ์—์„œ [Event] ์•„์ด์ฝ˜ ์„ ํƒ ํ›„ onclick ํ•ญ๋ชฉ ์ž…๋ ฅ์ฐฝ์„ ๋”๋ธ”ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|Hello Nexacro|๋„ฅ์‚ฌํฌ๋กœ ์•ฑ ๋งŒ๋“ค๊ธฐ|์ด๋ฒคํŠธ ์ถ”๊ฐ€/1.jpg</ImgTag> ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค์—์„œ ํด๋ฆญ ์ด๋ฒคํŠธ๋ฅผ ์ถ”๊ฐ€ํ•  ๋•Œ๋Š” Form Design ์ฐฝ์—์„œ ํ•ด๋‹น ์ปดํฌ๋„ŒํŠธ๋ฅผ ๋”๋ธ”ํด๋ฆญํ•ด์ฃผ๋ฉด ๋ฉ๋‹ˆ๋‹ค. ์ž‘์—… ์ฐฝ์— Form Script ์ฐฝ์œผ๋กœ ์ „ํ™˜๋˜๋ฉด์„œ ์ด๋ฒคํŠธ๋ฅผ ์ง€์ •ํ•˜๋Š” ํ•จ์ˆ˜๊ฐ€ ์ž๋™์œผ๋กœ ๋งŒ๋“ค์–ด์ง‘๋‹ˆ๋‹ค. <CodeTag> this.Static00_onclick = function(obj:nexacro.Static,e:nexacro.ClickEventInfo){}; </CodeTag> ๋งŒ๋“ค์–ด์ง„ ํ•จ์ˆ˜์—๋Š” ํ•ด๋‹น ์ปดํฌ๋„ŒํŠธ๋ฅผ ํด๋ฆญํ–ˆ์„ ๋•Œ ์‹คํ–‰๋  ๋™์ž‘์„ ์ง€์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๊ฒฝ๊ณ ์ฐฝ์— ํŠน์ • ๋ฌธ๊ตฌ๋ฅผ ๋ณด์—ฌ์ฃผ๋Š” ์ฝ”๋“œ๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. <CodeTag> this.alert('Nexacro N'); </CodeTag> <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|Hello Nexacro|๋„ฅ์‚ฌํฌ๋กœ ์•ฑ ๋งŒ๋“ค๊ธฐ|์ด๋ฒคํŠธ ์ถ”๊ฐ€/2.jpg</ImgTag> ๋ฉ”๋‰ด [Generate > Quick View]๋ฅผ ์„ ํƒํ•˜๊ณ  ์„ค์ •์ฐฝ์—์„œ [Run] ๋ฒ„ํŠผ์„ ํด๋ฆญํ•ด ์•ฑ์„ ์‹คํ–‰ํ•˜๊ณ  'Hello, Nexacro N'์ด๋ผ๋Š” ํ…์ŠคํŠธ ์˜์—ญ์„ ํด๋ฆญํ•˜๋ฉด ์•„๋ž˜์™€ ๊ฐ™์ด ๊ฒฝ๊ณ ์ฐฝ์ด ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|Hello Nexacro|๋„ฅ์‚ฌํฌ๋กœ ์•ฑ ๋งŒ๋“ค๊ธฐ|์ด๋ฒคํŠธ ์ถ”๊ฐ€/3.jpg</ImgTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ๋„ฅ์‚ฌํฌ๋กœ ์•ฑ ๋งŒ๋“ค๊ธฐ WRE(Web Runtime Environment)์—์„œ ์•ฑ ์‹คํ–‰ํ•˜๊ธฐ ### Assistant: ๋ฉ”๋‰ด [Generate > Quick View]๋ฅผ ์„ ํƒํ•˜๊ณ  ์„ค์ •์ฐฝ์—์„œ Browser ํ•ญ๋ชฉ์—์„œ ์‹คํ–‰ํ•  ์›น๋ธŒ๋ผ์šฐ์ €๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|Hello Nexacro|๋„ฅ์‚ฌํฌ๋กœ ์•ฑ ๋งŒ๋“ค๊ธฐ|WRE(Web Runtime Environment)์—์„œ ์•ฑ ์‹คํ–‰ํ•˜๊ธฐ/1.jpg</ImgTag> [Run] ๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜๋ฉด ์„ ํƒํ•œ ์›น๋ธŒ๋ผ์šฐ์ €(Chrome)์ด ์‹คํ–‰๋˜๊ณ  ํ™”๋ฉด์ด ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|Hello Nexacro|๋„ฅ์‚ฌํฌ๋กœ ์•ฑ ๋งŒ๋“ค๊ธฐ|WRE(Web Runtime Environment)์—์„œ ์•ฑ ์‹คํ–‰ํ•˜๊ธฐ/2.jpg</ImgTag> 'Hello, Nexacro N'์ด๋ผ๋Š” ํ…์ŠคํŠธ ์˜์—ญ์„ ํด๋ฆญํ•˜๋ฉด ์•„๋ž˜์™€ ๊ฐ™์ด ๊ฒฝ๊ณ ์ฐฝ์ด ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|Hello Nexacro|๋„ฅ์‚ฌํฌ๋กœ ์•ฑ ๋งŒ๋“ค๊ธฐ|WRE(Web Runtime Environment)์—์„œ ์•ฑ ์‹คํ–‰ํ•˜๊ธฐ/3.jpg</ImgTag> ์ด๋ฒˆ ์žฅ์—์„œ๋Š” ์•„๋ž˜์™€ ๊ฐ™์€ ๋‚ด์šฉ์„ ์‚ดํŽด๋ณด์•˜์Šต๋‹ˆ๋‹ค. ์ƒˆ๋กœ์šด ํ”„๋กœ์ ํŠธ ๋งŒ๋“ค๊ธฐ Static ์ปดํฌ๋„ŒํŠธ ๋ฐฐ์น˜ํ•˜๊ณ  text ์†์„ฑ ์ˆ˜์ •ํ•˜๊ธฐ Form ํฌ๊ธฐ(width, height) ์ˆ˜์ •ํ•˜๊ธฐ ๋งŒ๋“  ํ™”๋ฉด NRE์—์„œ ์‹คํ–‰ํ•˜๊ธฐ Staitc ์ปดํฌ๋„ŒํŠธ์— ๋งˆ์šฐ์Šค ํด๋ฆญ ์‹œ ์ด๋ฒคํŠธ ์ฒ˜๋ฆฌํ•˜๋Š” ๊ธฐ๋Šฅ ์ถ”๊ฐ€ํ•˜๊ธฐ ๋งŒ๋“  ํ™”๋ฉด ์›น๋ธŒ๋ผ์šฐ์ €์—์„œ ์‹คํ–‰ํ•˜๊ธฐ</s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ํ…Œ์ŠคํŠธ ์„œ๋ฒ„ ํ™˜๊ฒฝ ์„ค์ • ### Assistant: ๋„ฅ์‚ฌํฌ๋กœ ์•ฑ์„ ์‹คํ–‰ํ•˜๊ธฐ ์œ„ํ•ด์„œ๋Š” ์‹คํ–‰ ํ™˜๊ฒฝ์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค. ๋ณ„๋„์˜ ์‹คํ–‰ ํ™˜๊ฒฝ์„ ๊ตฌ์ถ•ํ•˜์ง€ ์•Š์•„๋„ ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค์—์„œ Windows NRE, ์—๋ฎฌ๋ ˆ์ดํ„ฐ, ๋กœ์ปฌ ์›น ์„œ๋ฒ„๋กœ ํ…Œ์ŠคํŠธํ•ด๋ณผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋„ฅ์‚ฌํฌ๋กœ ์•ฑ ๋™์ž‘ ๋ฟ ์•„๋‹ˆ๋ผ ์‹ค์ œ ๋ฐ์ดํ„ฐ๋ฅผ ์กฐํšŒํ•˜๊ณ  ์ €์žฅํ•˜๋Š” ๋ฐ์ดํ„ฐ ํŠธ๋žœ์žญ์…˜๊นŒ์ง€ ํ…Œ์ŠคํŠธํ•ด๋ณด๊ณ ์ž ํ•œ๋‹ค๋ฉด WAS(Web Application Server)๋ฅผ ์„ค์ •ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ์ด๋ฅผ ์œ„ํ•ด WAS ์„ค์น˜๋ฅผ ์œ„ํ•œ JDK ์„ค์น˜์™€ ์•„ํŒŒ์น˜ ํ†ฐ์บฃ ์„ค์ •์— ๋Œ€ํ•ด ์„ค๋ช…ํ•ฉ๋‹ˆ๋‹ค. ๋กœ์ปฌ ์›น์„œ๋ฒ„, ์•„ํŒŒ์น˜ ํ†ฐ์บฃ์€ ์•„๋ž˜์™€ ๊ฐ™์€ ์ฐจ์ด๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค. ์‚ฌ์šฉํ•˜๋ ค๋Š” ๋ชฉ์ ์— ๋งž๊ฒŒ ์„ ํƒํ•˜์„ธ์š”. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ…Œ์ŠคํŠธ ์„œ๋ฒ„ ํ™˜๊ฒฝ ์„ค์ •/1.png</ImgTag> ๋…ธํŠธ: ๋กœ์ปฌ ์›น์„œ๋ฒ„๋Š” ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค๋ฅผ ์‹คํ–‰ํ•˜๋Š” ์ค‘์—๋งŒ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค๋ฅผ ์‹คํ–‰ํ•˜์ง€ ์•Š๊ณ  ์•ฑ์„ ํ…Œ์ŠคํŠธํ•˜๋ ค๋ฉด ์ง์ ‘ ์›น์„œ๋ฒ„๋‚˜ WAS๋ฅผ ์„ค์น˜ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ๋…ธํŠธ: ์ด๋ฒˆ ์žฅ์—์„œ ์„ค๋ช…ํ•˜๋Š” ๊ฐ ์„œ๋น„์Šค์— ๋Œ€ํ•œ ๋ฌธ์ œ๋‚˜ ์„ธ๋ถ€์ ์ธ ์‚ฌ์šฉ ๋ฐฉ๋ฒ•์€ ํ•ด๋‹น ์ œํ’ˆ ํ”„๋กœ์ ํŠธ ์‚ฌ์ดํŠธ๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”.</s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ๋กœ์ปฌ ์›น์„œ๋ฒ„ ์‚ฌ์šฉํ•˜๊ธฐ ### Assistant: ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค ์„ค์น˜ ํ›„ ๊ธฐ๋ณธ ์˜ต์…˜์€ ๋กœ์ปฌ ์›น์„œ๋ฒ„๋ฅผ ์‚ฌ์šฉํ•˜๋„๋ก ์„ค์ •๋ฉ๋‹ˆ๋‹ค. ๋กœ์ปฌ ์›น์„œ๋ฒ„๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๊ฒฝ์šฐ์—๋Š” ๋ณ„๋„์˜ ์„ค์ • ์—†์ด ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค์—์„œ 'Launch' ๋˜๋Š” 'Quick View' ์‹คํ–‰ ์‹œ ์›น๋ธŒ๋ผ์šฐ์ €๋ฅผ ์„ ํƒํ•œ ๊ฒฝ์šฐ์—๋Š” ๋กœ์ปฌ ์›น์„œ๋ฒ„๊ฐ€ ์ž๋™์œผ๋กœ ์‹คํ–‰๋˜๊ณ  ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค๋ฅผ ์ข…๋ฃŒํ•˜๋ฉด ์ž๋™์œผ๋กœ ๋กœ์ปฌ ์›น์„œ๋ฒ„๋„ ์ข…๋ฃŒ๋ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ…Œ์ŠคํŠธ ์„œ๋ฒ„ ํ™˜๊ฒฝ ์„ค์ •|๋กœ์ปฌ ์›น์„œ๋ฒ„ ์‚ฌ์šฉํ•˜๊ธฐ/1.jpg</ImgTag> ๋กœ์ปฌ ์›น์„œ๋ฒ„ ์‹คํ–‰ ์‹œ ์„œ๋ฒ„์—์„œ ์ถœ๋ ฅํ•˜๋Š” ๋ฉ”์‹œ์ง€๋Š” ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค Output ์ฐฝ์—์„œ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ…Œ์ŠคํŠธ ์„œ๋ฒ„ ํ™˜๊ฒฝ ์„ค์ •|๋กœ์ปฌ ์›น์„œ๋ฒ„ ์‚ฌ์šฉํ•˜๊ธฐ/2.jpg</ImgTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: WAS ์‚ฌ์šฉํ•˜๊ธฐ JDK(Java SE Development Kit) ### Assistant: WAS๋Š” ํ†ฐ์บฃ(Tomcat)์ด๋‚˜ ์ œํ‹ฐ(Jetty), ์œˆ์Šคํ„ด(Winstone)๊ณผ ๊ฐ™์ด ๋ฌด๋ฃŒ๋กœ ๊ณต๊ฐœ๋œ ๊ฒƒ์„ ์‚ฌ์šฉํ•˜๊ฑฐ๋‚˜ ์ƒ์šฉ ์ œํ’ˆ์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์—ฌ๊ธฐ์—์„œ๋Š” ๊ฐ„๋‹จํ•˜๊ฒŒ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋Š” ํ†ฐ์บฃ์„ ์„ค์น˜ํ•˜๋Š” ๊ธฐ์ค€์œผ๋กœ ์„ค๋ช…ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค. ํ†ฐ์บฃ์€ ์ž๋ฐ” ๊ธฐ๋ฐ˜์œผ๋กœ ๋งŒ๋“ค์–ด์กŒ๊ธฐ ๋•Œ๋ฌธ์— ์‹คํ–‰ํ•˜๊ธฐ ์œ„ํ•ด์„œ๋Š” JDK(Java SE Development Kit) ํ™˜๊ฒฝ์ด ์„ค์ •๋˜์–ด ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. JDK๋Š” ๋ฌด๋ฃŒ๋กœ ์ œ๊ณต๋˜๊ณ  ์žˆ์œผ๋ฉฐ ๊ฐ„๋‹จํ•˜๊ฒŒ ์„ค์น˜ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.</s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: JDK(Java SE Development Kit) ๋‚ด๋ ค๋ฐ›๊ธฐ ### Assistant: ์•„๋ž˜ ์‚ฌ์ดํŠธ์—์„œ ์‹œ์Šคํ…œ ํ™˜๊ฒฝ์— ๋งž๋Š” JDK๋ฅผ ๋‚ด๋ ค๋ฐ›์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. http://www.oracle.com/technetwork/java/javase/downloads/index.html ๋…ธํŠธ: ์ด๋ฒˆ ์žฅ์—์„œ๋Š” jdk-9.0.1_windows-x64_bin.exe ํŒŒ์ผ์„ ๋‚ด๋ ค๋ฐ›์•„ ์‚ฌ์šฉํ–ˆ์Šต๋‹ˆ๋‹ค. JDK ๋ฒ„์ „์ด ๋‹ค๋ฅธ ๊ฒฝ์šฐ ์„ค์น˜ ๋ฐ ์„ค์ • ๋‚ด์šฉ์ด ๋‹ค๋ฅผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ํŒ: JDK๋‚˜ ํ†ฐ์บฃ ์„ค์น˜ ํŒŒ์ผ์€ ์œˆ๋„์šฐ ์šด์˜์ฒด์ œ๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๊ฒฝ์šฐ 32๋น„ํŠธ์™€ 64๋น„ํŠธ ์„ค์น˜ ํŒŒ์ผ์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค. ์šด์˜์ฒด์ œ ๋ฒ„์ „ ํ™•์ธ์€ ์•„๋ž˜ ๋งํฌ๋ฅผ ์ฐธ๊ณ ํ•˜์„ธ์š”. http://support.microsoft.com/kb/958406/ko</s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: JDK(Java SE Development Kit) ์„ค์น˜ ํ™•์ธ ### Assistant: ๋‚ด๋ ค๋ฐ›์€ ์„ค์น˜ํŒŒ์ผ์„ ์‹คํ–‰ํ•˜๋ฉด ์ž๋™์œผ๋กœ ํ•„์š”ํ•œ ํ™˜๊ฒฝ์„ค์ •๊ณผ ์„ค์น˜๊ณผ์ •์„ ์ง„ํ–‰ํ•ฉ๋‹ˆ๋‹ค. ์„ค์น˜๊ฐ€ ์™„๋ฃŒ๋˜๋ฉด ์ปค๋ฉ˜๋“œ์ฐฝ์—์„œ ์ •์ƒ์ ์œผ๋กœ ์„ค์น˜๋˜์—ˆ๋Š”์ง€ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค. java -version <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ…Œ์ŠคํŠธ ์„œ๋ฒ„ ํ™˜๊ฒฝ ์„ค์ •|WAS ์‚ฌ์šฉํ•˜๊ธฐ|JDK(Java SE Development Kit)/1.jpg</ImgTag> ํŒ: JDK 1.5 ์ด์ƒ ๋ฒ„์ „์„ ์„ค์น˜ํ•˜๋Š” ๊ฒฝ์šฐ์—๋Š” ์‹คํ–‰์— ํ•„์š”ํ•œ ํ™˜๊ฒฝ ๋ณ€์ˆ˜(JAVA_HOME)๋ฅผ ๋”ฐ๋กœ ์„ค์ •ํ•ด์ฃผ์ง€ ์•Š์•„๋„ ์‹œ์Šคํ…œ ๊ฒฝ๋กœ์— ์ž๋™์œผ๋กœ ์‹คํ–‰ ํŒŒ์ผ์„ ๋ณต์‚ฌํ•ด ์ ‘๊ทผํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.</s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: WAS ์‚ฌ์šฉํ•˜๊ธฐ ์•„ํŒŒ์น˜ ํ†ฐ์บฃ(Apache Tomcat) ### Assistant: ๋„ฅ์‚ฌํฌ๋กœ ์•ฑ์„ ์›น๋ธŒ๋ผ์šฐ์ €์—์„œ ๋™์ž‘ํ•˜๊ฒŒ ํ•˜๋ ค๋ฉด ์›น์„œ๋ฒ„ ํ™˜๊ฒฝ์„ ๋งŒ๋“ค์–ด์ฃผ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ์•„ํŒŒ์น˜ ํ†ฐ์บฃ์€ ๊ฐ„๋‹จํ•œ ์„ค์น˜๋งŒ์œผ๋กœ ์ด๋Ÿฐ ํ™˜๊ฒฝ์„ ๋งŒ๋“ค ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.</s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ์•„ํŒŒ์น˜ ํ†ฐ์บฃ(Apache Tomcat) ๋‚ด๋ ค๋ฐ›๊ธฐ ### Assistant: ์•„๋ž˜ ์‚ฌ์ดํŠธ์—์„œ ์‹คํ–‰ ํ™˜๊ฒฝ์— ๋งž๋Š” ํ†ฐ์บฃ์„ ๋‚ด๋ ค๋ฐ›์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. http://tomcat.apache.org ๋…ธํŠธ: ํ†ฐ์บฃ์€ ์••์ถ•๋œ ๋ฐ”์ด๋„ˆ๋ฆฌ ํŒŒ์ผ์„ ๋‚ด๋ ค๋ฐ›์•„ ์ง์ ‘ ์‹คํ–‰ํ•˜๊ฑฐ๋‚˜ ๋ณ„๋„๋กœ ์ œ๊ณต๋˜๋Š” ์ธ์Šคํ†จ ํŒŒ์ผ์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์—ฌ๊ธฐ์—์„œ๋Š” ์ธ์Šคํ†จ ํŒŒ์ผ๋กœ ์„ค์น˜ํ•˜๋„๋ก ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค. ๋‚ด๋ ค๋ฐ›์€ ํŒŒ์ผ์„ ์‹คํ–‰ํ•˜๊ฒŒ ๋˜๋ฉด ์„ค์น˜ ๋งˆ๋ฒ•์‚ฌ๊ฐ€ ํ•„์š”ํ•œ ์„ค์ • ๊ณผ์ •์„ ์ง„ํ–‰ํ•˜๋ฉฐ JRE ๊ฒฝ๋กœ๋„ ์ž๋™์œผ๋กœ ์ธ์‹ํ•ด ์ฒ˜๋ฆฌํ•ด์ค๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ…Œ์ŠคํŠธ ์„œ๋ฒ„ ํ™˜๊ฒฝ ์„ค์ •|WAS ์‚ฌ์šฉํ•˜๊ธฐ|์•„ํŒŒ์น˜ ํ†ฐ์บฃ(Apache Tomcat)/1.jpg</ImgTag> ์ฃผ์˜: ์ด๋ฒˆ ์žฅ์—์„œ๋Š” apache-tomcat-8.5.23.exe ํŒŒ์ผ์„ ๋‚ด๋ ค๋ฐ›์•„ ์‚ฌ์šฉํ–ˆ์Šต๋‹ˆ๋‹ค. ํ•ด๋‹น ํ”„๋กœ์ ํŠธ ์—…๋ฐ์ดํŠธ์— ๋”ฐ๋ผ ์ผ๋ถ€ ๋‚ด์šฉ์ด ๋ณ€๊ฒฝ๋  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.</s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ์•„ํŒŒ์น˜ ํ†ฐ์บฃ(Apache Tomcat) ์„ค์น˜ ํ™•์ธ ### Assistant: ์„ค์น˜๊ฐ€ ์™„๋ฃŒ๋˜๋ฉด ์œˆ๋„์šฐ ์„œ๋น„์Šค๋กœ ๋“ฑ๋ก๋˜๋ฉด์„œ ์ž๋™์œผ๋กœ ์„œ๋ฒ„๋ฅผ ์‹คํ–‰์‹œ์ผœ์ค๋‹ˆ๋‹ค. ์œˆ๋„์šฐ ํ•˜๋‹จ ํŠธ๋ ˆ์ด์—์„œ ์˜ค๋ฅธ์ชฝ ๋งˆ์šฐ์Šค๋ฅผ ํด๋ฆญํ•ด ์ปจํ…์ŠคํŠธ ๋ฉ”๋‰ด๋ฅผ ํ™•์ธํ•˜๋ฉด ์„œ๋น„์Šค ์ƒํƒœ ์ •๋ณด๋ฅผ ํ™•์ธํ•˜๊ฑฐ๋‚˜ ๋‹ค๋ฅธ ์„ค์ •์„ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ…Œ์ŠคํŠธ ์„œ๋ฒ„ ํ™˜๊ฒฝ ์„ค์ •|WAS ์‚ฌ์šฉํ•˜๊ธฐ|์•„ํŒŒ์น˜ ํ†ฐ์บฃ(Apache Tomcat)/1.jpg</ImgTag> <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ…Œ์ŠคํŠธ ์„œ๋ฒ„ ํ™˜๊ฒฝ ์„ค์ •|WAS ์‚ฌ์šฉํ•˜๊ธฐ|์•„ํŒŒ์น˜ ํ†ฐ์บฃ(Apache Tomcat)/2.jpg</ImgTag> ์›น๋ธŒ๋ผ์šฐ์ €์—์„œ ๋กœ์ปฌ ์ฃผ์†Œ์— ์„ค์ •๋œ URL๊ฐ’์„ ์ž…๋ ฅํ•ด ์ •์ƒ ์„ค์น˜ ์—ฌ๋ถ€๋ฅผ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค. http://localhost:8080 <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ…Œ์ŠคํŠธ ์„œ๋ฒ„ ํ™˜๊ฒฝ ์„ค์ •|WAS ์‚ฌ์šฉํ•˜๊ธฐ|์•„ํŒŒ์น˜ ํ†ฐ์บฃ(Apache Tomcat)/3.jpg</ImgTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ์•„ํŒŒ์น˜ ํ†ฐ์บฃ(Apache Tomcat) ์ปจํ…์ŠคํŠธ ์„ค์ • ### Assistant: ํ†ฐ์บฃ์—์„œ ์›ํ•˜๋Š” ์ •๋ณด๋ฅผ ๋ณด์—ฌ์ฃผ๋ ค๋ฉด ์ปจํ…์ŠคํŠธ๋ฅผ ์ถ”๊ฐ€ํ•ด์ฃผ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ์ปจํ…์ŠคํŠธ๋ฅผ ์ถ”๊ฐ€ํ•˜๋Š” ๋ฐฉ๋ฒ•์€ ๋ช‡ ๊ฐ€์ง€๊ฐ€ ์žˆ์ง€๋งŒ, ์ด๋ฒˆ ์žฅ์—์„œ๋Š” ์ปจํ…์ŠคํŠธ ํŒŒ์ผ์„ ์ƒ์„ฑํ•˜๊ณ  ์ž„์˜์˜ ํด๋”๋ฅผ ์„ค์ •ํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ์‚ดํŽด๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค. ๋…ธํŠธ: ์ƒˆ๋กœ์šด ํŒŒ์ผ์„ ์ถ”๊ฐ€ํ•˜๊ฑฐ๋‚˜ ์ˆ˜์ •ํ•˜๊ธฐ ์œ„ํ•ด ์šด์˜์ฒด์ œ ์„ค์ •์— ๋”ฐ๋ผ ๊ด€๋ฆฌ์ž ๊ถŒํ•œ์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.</s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ์ปจํ…์ŠคํŠธ ์„ค์ • ์ปจํ…์ŠคํŠธ ํŒŒ์ผ ์ƒ์„ฑ ### Assistant: ์ปจํ…์ŠคํŠธ ํŒŒ์ผ์€ ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค์—์„œ Generate Path๋ฅผ ์ง€์ •ํ•˜๊ณ  ํ•ด๋‹น ๊ฒฝ๋กœ๋ฅผ ํ†ฐ์บฃ๊ณผ ์—ฐ๊ฒฐํ•ด์ฃผ๋Š” ์—ญํ• ์„ ํ•ฉ๋‹ˆ๋‹ค. ํ†ฐ์บฃ์ด ์„ค์น˜๋œ ๊ฒฝ๋กœ ์•„๋ž˜์— ์ง€์ •๋œ ํด๋”์— XML ํŒŒ์ผ๋กœ ๋งŒ๋“  ์ปจํ…์ŠคํŠธ ํŒŒ์ผ์„ ์ถ”๊ฐ€ํ•ด์ค๋‹ˆ๋‹ค. C:\Program Files\Apache Software Foundation\Tomcat 8.5\conf\Catalina\localhost XML ํŒŒ์ผ์„ ์•„๋ž˜์™€ ๊ฐ™์ด ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค. path ํ•ญ๋ชฉ์—๋Š” URL ์ฃผ์†Œ์— ํฌํ•จ๋  ๋ฌธ์ž์—ด์„ ์ž…๋ ฅํ•˜๊ณ  docBase ํ•ญ๋ชฉ์—๋Š” Generate Path๋กœ ์ง€์ •๋œ ๊ฒฝ๋กœ๋ฅผ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค. ์•„๋ž˜์™€ ๊ฐ™์ด path ํ•ญ๋ชฉ์„ ์ง€์ •ํ•œ ๊ฒฝ์šฐ์— ์—ฐ๊ฒฐ๋˜๋Š” URL์€ http://localhost:8080/Hello/... ํ˜•์‹์ด ๋ฉ๋‹ˆ๋‹ค. ์ƒ์„ฑํ•˜๋Š” ํŒŒ์ผ๋ช…์€ path ํ•ญ๋ชฉ์— ์ž…๋ ฅํ•œ ์ด๋ฆ„๊ณผ ๊ฐ™์•„์•ผ ํ•ฉ๋‹ˆ๋‹ค. ์•„๋ž˜ ์˜ˆ์ œ์—์„œ๋Š” Hello.xml ํŒŒ์ผ์„ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ…Œ์ŠคํŠธ ์„œ๋ฒ„ ํ™˜๊ฒฝ ์„ค์ •|WAS ์‚ฌ์šฉํ•˜๊ธฐ|์•„ํŒŒ์น˜ ํ†ฐ์บฃ(Apache Tomcat)/1.jpg</ImgTag> <CodeTag> ์ฝ”๋“œ 3- Hello.xml<Context path='/Hello' docBase='E:\88_TEST\02_BUILD\Hello' debug='0' prvileged='true' reloadable='true'> <Logger className='org.apache.catalina.logger.FileLogger' directory='logs' prefix='localhost_log.' suffix='.txt' timestame='true'/></Context> </CodeTag> <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ…Œ์ŠคํŠธ ์„œ๋ฒ„ ํ™˜๊ฒฝ ์„ค์ •|WAS ์‚ฌ์šฉํ•˜๊ธฐ|์•„ํŒŒ์น˜ ํ†ฐ์บฃ(Apache Tomcat)/2.jpg</ImgTag> ๋…ธํŠธ: XML ํŒŒ์ผ์€ ์œˆ๋„์šฐ ์šด์˜์ฒด์ œ์˜ ๋ฉ”๋ชจ์žฅ์ด๋‚˜ ์„ค์น˜๋œ ์—๋””ํ„ฐ ํ”„๋กœ๊ทธ๋žจ์—์„œ ์ƒˆ๋กœ ๋งŒ๋“ค ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค๋ฅผ ์‹คํ–‰ํ•œ ๊ฒฝ์šฐ์—๋Š” ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค ๋ฉ”๋‰ด์—์„œ [File > New > XML(.xml)] ํ•ญ๋ชฉ์„ ์„ ํƒํ•ด ํŒŒ์ผ์„ ์ƒˆ๋กœ ๋งŒ๋“ค ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ…Œ์ŠคํŠธ ์„œ๋ฒ„ ํ™˜๊ฒฝ ์„ค์ •|WAS ์‚ฌ์šฉํ•˜๊ธฐ|์•„ํŒŒ์น˜ ํ†ฐ์บฃ(Apache Tomcat)/3.jpg</ImgTag> ๋…ธํŠธ: ์ปจํ…์ŠคํŠธ ํŒŒ์ผ์€ ํ”„๋กœ์ ํŠธ๋งˆ๋‹ค ๋”ฐ๋กœ ์ƒ์„ฑํ•ด์ฃผ๊ฑฐ๋‚˜ ํ•˜๋‚˜์˜ ์ปจํ…์ŠคํŠธ ํŒŒ์ผ์„ ๊ฐ€์ง€๊ณ  ์—ฌ๋Ÿฌ๊ฐœ์˜ ํ”„๋กœ์ ํŠธ๋ฅผ ๊ด€๋ฆฌํ•  ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค. ์ดํ›„ ์˜ˆ์ œ์—์„œ๋Š” ํ”„๋กœ์ ํŠธ๋งˆ๋‹ค ์ปจํ…์ŠคํŠธ ํŒŒ์ผ์„ ์ƒ์„ฑํ•˜๋Š” ๊ฒƒ์œผ๋กœ ์•ˆ๋‚ดํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.</s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ์•„ํŒŒ์น˜ ํ†ฐ์บฃ(Apache Tomcat) ๋„ฅ์‚ฌํฌ๋กœ ์•ฑ ํ™•์ธ ### Assistant: ๋กœ์ปฌ ์›น์„œ๋ฒ„๊ฐ€ ์•„๋‹Œ ๋‹ค๋ฅธ ์›น์„œ๋ฒ„ ๋˜๋Š” WAS๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๊ฒฝ์šฐ์—๋Š” Web Server ์„ค์ •์„ ํ•ด์ฃผ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ๋ฉ”๋‰ด[Tools > Options > Project > Launch > Web Server] ํ•ญ๋ชฉ์— URL์„ ์„ค์ •ํ•ด์ฃผ๋ฉด ์ดํ›„ ์‹คํ–‰ ์‹œ ํ•ด๋‹น ๊ฒฝ๋กœ ๊ธฐ์ค€์œผ๋กœ ์‹คํ–‰์ด ๋ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ…Œ์ŠคํŠธ ์„œ๋ฒ„ ํ™˜๊ฒฝ ์„ค์ •|WAS ์‚ฌ์šฉํ•˜๊ธฐ|์•„ํŒŒ์น˜ ํ†ฐ์บฃ(Apache Tomcat)/1.jpg</ImgTag> <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ…Œ์ŠคํŠธ ์„œ๋ฒ„ ํ™˜๊ฒฝ ์„ค์ •|WAS ์‚ฌ์šฉํ•˜๊ธฐ|์•„ํŒŒ์น˜ ํ†ฐ์บฃ(Apache Tomcat)/2.jpg</ImgTag> <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ…Œ์ŠคํŠธ ์„œ๋ฒ„ ํ™˜๊ฒฝ ์„ค์ •|WAS ์‚ฌ์šฉํ•˜๊ธฐ|์•„ํŒŒ์น˜ ํ†ฐ์บฃ(Apache Tomcat)/3.jpg</ImgTag> ์œˆ๋„์šฐ ํŠธ๋ ˆ์ด ์˜์—ญ์—์„œ 'Exit' ํ•ญ๋ชฉ์„ ์„ ํƒํ•ด์ฃผ๋ฉด ํ†ฐ์บฃ ์„œ๋น„์Šค๊ฐ€ ์ข…๋ฃŒ๋ฉ๋‹ˆ๋‹ค.</s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (๊ณ ๊ฐ์‚ฌ ๋ชฉ๋ก ์กฐํšŒ) ### Assistant: ์—…๋ฌด์— ์‚ฌ์šฉ๋˜๋Š” ํ™”๋ฉด ์ค‘ ๊ฐ€์žฅ ๊ธฐ๋ณธ์ ์ธ ํ•ญ๋ชฉ์ด ์กฐํšŒ ํ™”๋ฉด์ž…๋‹ˆ๋‹ค. ์ด๋ฒˆ ์žฅ์—์„œ๋Š” ๊ฐ„๋‹จํ•œ ๊ณ ๊ฐ์‚ฌ ๋ชฉ๋ก ์กฐํšŒ ํ™”๋ฉด์„ ๋งŒ๋“ค๋ฉด์„œ ๊ทธ๋ฆฌ๋“œ(Grid) ์ปดํฌ๋„ŒํŠธ์™€ ๋ฐ์ดํ„ฐ์…‹(Dataset)์„ ๋‹ค๋ฃจ๋Š” ๋ฐฉ๋ฒ•์„ ์‚ดํŽด๋ด…๋‹ˆ๋‹ค.</s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ํ™”๋ฉด ๊ตฌ์„ฑ ### Assistant: ๋„ฅ์‚ฌํฌ๋กœ ์•ฑ์„ ๋งŒ๋“œ๋Š” ๊ธฐ๋ณธ์ ์ธ ๋ฐฉ๋ฒ•์€ ํ”„๋กœ์ ํŠธ์™€ ํผ์„ ๋งŒ๋“ค๊ณ  ํผ ์•ˆ์— ํ•„์š”ํ•œ ์ปดํฌ๋„ŒํŠธ๋ฅผ ๋ฐฐ์น˜ํ•˜๋Š” ๊ณผ์ •์ž…๋‹ˆ๋‹ค.</s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ํ™”๋ฉด ๊ตฌ์„ฑ ํ”„๋กœ์ ํŠธ(Project) ### Assistant: ์•„๋ž˜์™€ ๊ฐ™์ด ์ƒˆ๋กœ์šด ๋„ฅ์‚ฌํฌ๋กœ ํ”„๋กœ์ ํŠธ๋ฅผ ๋งŒ๋“ญ๋‹ˆ๋‹ค. [Menu] File > New > Project <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (๊ณ ๊ฐ์‚ฌ ๋ชฉ๋ก ์กฐํšŒ)|ํ™”๋ฉด ๊ตฌ์„ฑ|ํ”„๋กœ์ ํŠธ(Project)/1.png</ImgTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ํ™”๋ฉด ๊ตฌ์„ฑ ํผ(Form) ### Assistant: ํ”„๋กœ์ ํŠธ ์ƒ์„ฑ ์‹œ ํ”„๋ ˆ์ž„์…‹ ์„ค์ •์œผ๋กœ ๋งŒ๋“ค์–ด์ง„ Form_Work ํผ์„ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. ํผ์˜ ๋„ˆ๋น„์™€ ๋†’์ด๋Š” ํผ์„ ๋งŒ๋“  ํ›„์— ์†์„ฑ ์ฐฝ์—์„œ ์ˆ˜์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (๊ณ ๊ฐ์‚ฌ ๋ชฉ๋ก ์กฐํšŒ)|ํ™”๋ฉด ๊ตฌ์„ฑ|ํผ(Form)/1.png</ImgTag> ์†์„ฑ์ฐฝ์—์„œ ํผ์˜ titletext ์†์„ฑ๊ฐ’์„ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค. titletext ์†์„ฑ๊ฐ’์€ ์›น๋ธŒ๋ผ์šฐ์ €์— ํ‘œ์‹œ๋˜๋Š” ์ œ๋ชฉ์œผ๋กœ ์ ์šฉ๋ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (๊ณ ๊ฐ์‚ฌ ๋ชฉ๋ก ์กฐํšŒ)|ํ™”๋ฉด ๊ตฌ์„ฑ|ํผ(Form)/1.jpg</ImgTag> <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (๊ณ ๊ฐ์‚ฌ ๋ชฉ๋ก ์กฐํšŒ)|ํ™”๋ฉด ๊ตฌ์„ฑ|ํผ(Form)/2.png</ImgTag> <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (๊ณ ๊ฐ์‚ฌ ๋ชฉ๋ก ์กฐํšŒ)|ํ™”๋ฉด ๊ตฌ์„ฑ|ํผ(Form)/2.jpg</ImgTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ํ™”๋ฉด ๊ตฌ์„ฑ ๋ฐ์ดํ„ฐ์…‹(Dataset) ### Assistant: ๋ฐ์ดํ„ฐ์…‹ ์ปดํฌ๋„ŒํŠธ๋Š” ๋„ฅ์‚ฌํฌ๋กœ ์•ฑ ๋‚ด์—์„œ ๋ฐ์ดํ„ฐ๋ฅผ ๊ด€๋ฆฌํ•˜๋Š” ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค. ์‚ฌ์šฉ์ž๊ฐ€ ์ž…๋ ฅํ•˜๊ฑฐ๋‚˜ ์„œ๋ฒ„์—์„œ ๊ฐ€์ ธ์˜จ ๋ฐ์ดํ„ฐ๋ฅผ ๋ณด๊ด€ํ•˜๊ณ  ๋ฐ์ดํ„ฐ์˜ ๋ณ€๊ฒฝ(์ถ”๊ฐ€/์ˆ˜์ •/์‚ญ์ œ) ์ƒํƒœ๋ฅผ ๊ด€๋ฆฌํ•ฉ๋‹ˆ๋‹ค. ๋ฐ์ดํ„ฐ์…‹์€ 2์ฐจ์› ํ…Œ์ด๋ธ” ํ˜•ํƒœ๋กœ ๋ฐ์ดํ„ฐ๋ฅผ ๊ด€๋ฆฌํ•ฉ๋‹ˆ๋‹ค. ์ปฌ๋Ÿผ(Column) ๊ตฌ์กฐ๋กœ ๋กœ์šฐ(Row, Record) ๋‹จ์œ„๋กœ ๋ฐ์ดํ„ฐ๋ฅผ ๋‹ค๋ฃฐ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ํ•˜๋‚˜์˜ ํผ์—๋Š” ์—ฌ๋Ÿฌ ๊ฐœ์˜ ๋ฐ์ดํ„ฐ์…‹์„ ๊ฐ€์งˆ ์ˆ˜ ์žˆ์œผ๋ฉฐ GlobalVariables๋กœ ๋ฐ์ดํ„ฐ์…‹์„ ๋งŒ๋“ค์–ด ์—ฌ๋Ÿฌ ํผ์—์„œ ๊ณต๋™์œผ๋กœ ์‚ฌ์šฉํ•  ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค. ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค ํˆด๋ฐ”์—์„œ ๋ฐ์ดํ„ฐ์…‹ <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (๊ณ ๊ฐ์‚ฌ ๋ชฉ๋ก ์กฐํšŒ)|ํ™”๋ฉด ๊ตฌ์„ฑ|๋ฐ์ดํ„ฐ์…‹(Dataset)/1.jpg</ImgTag> ์„ ์„ ํƒํ•œ ์ƒํƒœ์—์„œ ๋””์ž์ธ ์˜์—ญ ์•„๋ฌด ๊ณณ์ด๋‚˜ ํด๋ฆญํ•˜๋ฉด ๋ฐ์ดํ„ฐ์…‹์ด ์ถ”๊ฐ€๋ฉ๋‹ˆ๋‹ค. ๋ฐ์ดํ„ฐ์…‹์€ ํ™”๋ฉด์— ๋ณด์ด๋Š” ์ปดํฌ๋„ŒํŠธ๊ฐ€ ์•„๋‹ˆ๋ผ ๋‚ด๋ถ€์—์„œ ๋ฐ์ดํ„ฐ ๊ด€๋ฆฌ๋ฅผ ์œ„ํ•ด ์‚ฌ์šฉ๋˜๋Š” ์ปดํฌ๋„ŒํŠธ์ด๊ธฐ ๋•Œ๋ฌธ์— Invisible Objects ํ•ญ๋ชฉ์œผ๋กœ ๊ด€๋ฆฌ๋ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (๊ณ ๊ฐ์‚ฌ ๋ชฉ๋ก ์กฐํšŒ)|ํ™”๋ฉด ๊ตฌ์„ฑ|๋ฐ์ดํ„ฐ์…‹(Dataset)/2.jpg</ImgTag> ์†์„ฑ์ฐฝ์—์„œ ์ถ”๊ฐ€ํ•œ ๋ฐ์ดํ„ฐ์…‹ ์†์„ฑ์„ ์•„๋ž˜์™€ ๊ฐ™์ด ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (๊ณ ๊ฐ์‚ฌ ๋ชฉ๋ก ์กฐํšŒ)|ํ™”๋ฉด ๊ตฌ์„ฑ|๋ฐ์ดํ„ฐ์…‹(Dataset)/1.png</ImgTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ํ™”๋ฉด ๊ตฌ์„ฑ ๋ฐ์ดํ„ฐ์…‹ ์ฝ˜ํ…์ธ  ์—๋””ํ„ฐ(Dataset Contents Editor) ### Assistant: ์ผ๋ฐ˜์ ์ธ ์ปดํฌ๋„ŒํŠธ๋Š” ์†์„ฑ์ฐฝ์—์„œ ๊ด€๋ จ๋œ ์†์„ฑ์„ ์ˆ˜์ •ํ•˜์ง€๋งŒ ๋ฐ์ดํ„ฐ์…‹์€ ๋ฐ์ดํ„ฐ๋ฅผ ๋‹ค๋ฃจ๊ธฐ ์œ„ํ•œ ์ถ”๊ฐ€์ ์ธ ๋„๊ตฌ๋กœ ๋ฐ์ดํ„ฐ์…‹ ์ฝ˜ํ…์ธ  ์—๋””ํ„ฐ๊ฐ€ ์ œ๊ณต๋ฉ๋‹ˆ๋‹ค. ๋ฐ์ดํ„ฐ์…‹ ์ฝ˜ํ…์ธ  ์—๋””ํ„ฐ๋Š” 2์ฐจ์› ํ…Œ์ด๋ธ” ํ˜•ํƒœ๋กœ ๋ฐ์ดํ„ฐ๋ฅผ ๊ด€๋ฆฌํ•˜๊ธฐ ์œ„ํ•ด ์ปฌ๋Ÿผ์„ ๋””์ž์ธํ•˜๊ณ  ๋ฐ์ดํ„ฐ๋ฅผ ์ง์ ‘ ์ถ”๊ฐ€ํ•  ์ˆ˜ ์žˆ๋Š” ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค. ๋ฐ์ดํ„ฐ์…‹์„ ๋”๋ธ”ํด๋ฆญํ•˜๋ฉด ๋ฐ์ดํ„ฐ์…‹ ์ฝ˜ํ…์ธ  ์—๋””ํ„ฐ๊ฐ€ ๋‚˜ํƒ€๋‚ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (๊ณ ๊ฐ์‚ฌ ๋ชฉ๋ก ์กฐํšŒ)|ํ™”๋ฉด ๊ตฌ์„ฑ|๋ฐ์ดํ„ฐ์…‹ ์ฝ˜ํ…์ธ  ์—๋””ํ„ฐ(Dataset Contents Editor)/1.jpg</ImgTag> ๋ฐ์ดํ„ฐ์…‹์—์„œ ๋ฐ์ดํ„ฐ๋ฅผ ๊ด€๋ฆฌํ•˜๊ธฐ ์œ„ํ•ด์„œ๋Š” ์‚ฌ์šฉํ•  ์ปฌ๋Ÿผ์„ ์ถ”๊ฐ€ํ•ด์ฃผ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. Columns ํ•ญ๋ชฉ์—์„œ [Add column to the dataset] ๋ฒ„ํŠผ์„ ํด๋ฆญํ•ด ์ปฌ๋Ÿผ์„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. ์˜ˆ์ œ์—์„œ ์‚ฌ์šฉํ•˜๋Š” ์ปฌ๋Ÿผ์€ ์•„๋ž˜์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (๊ณ ๊ฐ์‚ฌ ๋ชฉ๋ก ์กฐํšŒ)|ํ™”๋ฉด ๊ตฌ์„ฑ|๋ฐ์ดํ„ฐ์…‹ ์ฝ˜ํ…์ธ  ์—๋””ํ„ฐ(Dataset Contents Editor)/1.png</ImgTag> Rows ํ•ญ๋ชฉ์—์„œ ํ…Œ์ŠคํŠธ๋ฅผ ์œ„ํ•œ ๋ฐ์ดํ„ฐ๋ฅผ ์ถ”๊ฐ€ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋ฐ์ดํ„ฐ๋ฅผ ์ถ”๊ฐ€ํ•˜๋Š” ๋ฐฉ๋ฒ•์€ ์ปฌ๋Ÿผ์„ ์ถ”๊ฐ€ํ•˜๋Š” ๋ฐฉ๋ฒ•๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค. ์ถ”๊ฐ€๋œ ํ•ญ๋ชฉ์€ ๋ฐ์ดํ„ฐ์…‹ ์ฝ˜ํ…์ธ  ์—๋””ํ„ฐ์—์„œ ์†Œ์Šค ์ฝ”๋“œ๋กœ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์†Œ์Šค ์ฝ”๋“œ๋ฅผ ์ง์ ‘ ์ˆ˜์ •ํ•ด๋„ ๋ฐ์ดํ„ฐ์…‹ ์ปฌ๋Ÿผ์— ๋ฐ˜์˜๋ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (๊ณ ๊ฐ์‚ฌ ๋ชฉ๋ก ์กฐํšŒ)|ํ™”๋ฉด ๊ตฌ์„ฑ|๋ฐ์ดํ„ฐ์…‹ ์ฝ˜ํ…์ธ  ์—๋””ํ„ฐ(Dataset Contents Editor)/2.jpg</ImgTag> <CodeTag> <ColumnInfo> <Column id='id' type='STRING' size='4'/> <Column id='name' type='STRING' size='16'/> <Column id='email' type='STRING' size='32'/> <Column id='phone' type='STRING' size='16'/> <Column id='comp_name' type='STRING' size='32'/> <Column id='department' type='STRING' size='32'/> <Column id='comp_phone' type='STRING' size='16'/> <Column id='comp_addr' type='STRING' size='256'/></ColumnInfo> </CodeTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ํ™”๋ฉด ๊ตฌ์„ฑ ์ปดํฌ๋„ŒํŠธ ๋ฐฐ์น˜ ### Assistant: ๊ณ ๊ฐ์‚ฌ ๋ชฉ๋ก ์กฐํšŒ ํ™”๋ฉด์€ ์ œ๋ชฉ, ๊ฒ€์ƒ‰์ฐฝ, ๊ฒ€์ƒ‰๋ฒ„ํŠผ, ๊ทธ๋ฆฌ๋“œ๋กœ ๊ตฌ์„ฑ๋ฉ๋‹ˆ๋‹ค. ์ „์ฒด์ ์ธ ํ™”๋ฉด ๊ตฌ์„ฑ์€ ์•„๋ž˜์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (๊ณ ๊ฐ์‚ฌ ๋ชฉ๋ก ์กฐํšŒ)|ํ™”๋ฉด ๊ตฌ์„ฑ|์ปดํฌ๋„ŒํŠธ ๋ฐฐ์น˜/1.jpg</ImgTag> ํ™”๋ฉด ๊ตฌ์„ฑ์— ์‚ฌ์šฉํ•œ ์ปดํฌ๋„ŒํŠธ์™€ ์ˆ˜์ •ํ•œ ์†์„ฑ๊ฐ’์€ ์•„๋ž˜์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (๊ณ ๊ฐ์‚ฌ ๋ชฉ๋ก ์กฐํšŒ)|ํ™”๋ฉด ๊ตฌ์„ฑ|์ปดํฌ๋„ŒํŠธ ๋ฐฐ์น˜/1.png</ImgTag> ์ฃผ์˜: Div ์ปดํฌ๋„ŒํŠธ๋Š” ์—ฌ๋Ÿฌ ๊ฐœ์˜ ์ปดํฌ๋„ŒํŠธ๋ฅผ ๊ฐ์‹ธ์ฃผ๋Š” ์—ญํ• ์„ ํ•ฉ๋‹ˆ๋‹ค. Div ์ปดํฌ๋„ŒํŠธ๋ฅผ ๋จผ์ € ๋ฐฐ์น˜ํ•˜๊ณ  ์•ˆ์— ๋“ค์–ด๊ฐˆ ์ปดํฌ๋„ŒํŠธ๋ฅผ ๋ฐฐ์น˜ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ์˜ˆ์ œ์—์„œ Div ์ปดํฌ๋„ŒํŠธ ์•ˆ์— ๋“ค์–ด๊ฐ€๋Š” Edit, Button ์ปดํฌ๋„ŒํŠธ๋Š” Div ์ปดํฌ๋„ŒํŠธ๋ฅผ ๋จผ์ € ํ™”๋ฉด์— ๋ฐฐ์น˜ํ•˜๊ณ  ๊ทธ ์œ„์— ์ปดํฌ๋„ŒํŠธ๋ฅผ ์ถ”๊ฐ€ํ•ด์ฃผ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.</s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ๊ทธ๋ฆฌ๋“œ ### Assistant: ๋ฐ์ดํ„ฐ๋ฅผ ๋‹ค๋ฃจ๋Š” ํ™”๋ฉด์„ ๊ตฌ์„ฑํ•œ๋‹ค๋ฉด ๊ฐ€์žฅ ๋งŽ์ด ์‚ฌ์šฉํ•˜๋Š” ์ปดํฌ๋„ŒํŠธ๊ฐ€ ๊ทธ๋ฆฌ๋“œ์ž…๋‹ˆ๋‹ค. ๊ทธ๋ฆฌ๋“œ๋Š” ์ปดํฌ๋„ŒํŠธ ํ˜ผ์ž์„œ ์‚ฌ์šฉํ•˜๊ธฐ๋ณด๋‹ค๋Š” ๋ฐ์ดํ„ฐ๋ฅผ ๊ด€๋ฆฌํ•˜๋Š” ๋ฐ์ดํ„ฐ์…‹๊ณผ ์—ฐ๊ฒฐํ•ด ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.</s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ๊ทธ๋ฆฌ๋“œ ๋ฐ์ดํ„ฐ ๋ฐ”์ธ๋”ฉ ### Assistant: ํ™”๋ฉด์— ๋ฐฐ์น˜๋œ ๊ทธ๋ฆฌ๋“œ์— ๋ฐ์ดํ„ฐ๋ฅผ ๋ณด์—ฌ์ฃผ๊ธฐ ์œ„ํ•ด์„œ๋Š” ๋ฐ์ดํ„ฐ์…‹์„ ์—ฐ๊ฒฐํ•ด์ฃผ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ์ด๋Ÿฐ ์—ฐ๊ฒฐ ์ž‘์—…์„ ๋ฐ์ดํ„ฐ ๋ฐ”์ธ๋”ฉ(Binding)์ด๋ผ๊ณ  ํ•ฉ๋‹ˆ๋‹ค. ๊ทธ๋ฆฌ๋“œ๋ฟ ์•„๋‹ˆ๋ผ ๋ฐ์ดํ„ฐ๋ฅผ ํ™”๋ฉด์— ๋ณด์—ฌ์ค„ ์ˆ˜ ์žˆ๋Š” ๋ชจ๋“  ์ปดํฌ๋„ŒํŠธ๋Š” ๋ฐ์ดํ„ฐ์…‹๊ณผ ์—ฐ๊ฒฐํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๊ทธ๋ฆฌ๋“œ์— ๋ฐ์ดํ„ฐ์…‹์„ ์—ฐ๊ฒฐํ•˜๋ฉด ๋ฐ์ดํ„ฐ๋ฅผ ๋ณด์—ฌ์ฃผ๋Š” ๊ฒƒ๋ฟ ์•„๋‹ˆ๋ผ ๊ทธ๋ฆฌ๋“œ ๋‚ด์—์„œ ์ง์ ‘ ๋ฐ์ดํ„ฐ๋ฅผ ์ˆ˜์ •ํ•˜๊ฑฐ๋‚˜ ์ž…๋ ฅํ•  ์ˆ˜ ์žˆ์œผ๋ฉฐ ๋ณ€๊ฒฝ๋œ ๋ฐ์ดํ„ฐ๋Š” ๋ฐ์ดํ„ฐ์…‹์— ๋ฐ”๋กœ ๋ฐ˜์˜๋ฉ๋‹ˆ๋‹ค. ๊ทธ๋ฆฌ๋“œ์— ๋ฐ์ดํ„ฐ์…‹์„ ์—ฐ๊ฒฐํ•˜๋Š” ๋ฐฉ๋ฒ•์€ binddataset ์†์„ฑ๊ฐ’์— ๋ฐ์ดํ„ฐ์…‹ id๊ฐ’์„ ์ง€์ •ํ•ด์ฃผ๊ฑฐ๋‚˜ ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค ํ™”๋ฉด ์œ„์—์„œ ๋ฐ์ดํ„ฐ์…‹ ์ปดํฌ๋„ŒํŠธ๋ฅผ ๋งˆ์šฐ์Šค๋กœ ํด๋ฆญํ•˜๊ณ  ๊ทธ๋ฆฌ๋“œ ์ปดํฌ๋„ŒํŠธ ์œ„๋กœ ๋“œ๋ž˜๊ทธํ•ด์„œ ์˜ฎ๊ฒจ์ค๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (๊ณ ๊ฐ์‚ฌ ๋ชฉ๋ก ์กฐํšŒ)|๊ทธ๋ฆฌ๋“œ|๋ฐ์ดํ„ฐ ๋ฐ”์ธ๋”ฉ/1.jpg</ImgTag> ๋ฐ์ดํ„ฐ์…‹์„ ๋“œ๋ž˜๊ทธํ•ด์„œ ๊ทธ๋ฆฌ๋“œ ์ปดํฌ๋„ŒํŠธ ์œ„์— ๊ฐ€์ ธ๋‹ค ๋†“์œผ๋ฉด binddataset ์†์„ฑ๊ฐ’์ด ํ•ด๋‹น ๋ฐ์ดํ„ฐ์…‹ id๋กœ ์ง€์ •๋˜๋ฉด์„œ formats ์†์„ฑ์— ๋ฐ์ดํ„ฐ์…‹ ์ปฌ๋Ÿผ์„ ๊ธฐ์ค€์œผ๋กœ ๊ฐ’์ด ๋งŒ๋“ค์–ด์ง‘๋‹ˆ๋‹ค. ๊ทธ๋ฆฌ๊ณ  ํ™”๋ฉด ์œ„์—์„œ๋„ ๋ฐ์ดํ„ฐ์…‹ ์ปฌ๋Ÿผ์„ ๊ธฐ์ค€์œผ๋กœ ๊ทธ๋ฆฌ๋“œ ๋ชจ์–‘์ด ๋ฐ”๋€ ๊ฒƒ์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (๊ณ ๊ฐ์‚ฌ ๋ชฉ๋ก ์กฐํšŒ)|๊ทธ๋ฆฌ๋“œ|๋ฐ์ดํ„ฐ ๋ฐ”์ธ๋”ฉ/2.jpg</ImgTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ๊ทธ๋ฆฌ๋“œ ๊ทธ๋ฆฌ๋“œ ์ฝ˜ํ…์ธ  ์—๋””ํ„ฐ(Grid Contents Editor) ### Assistant: ๊ทธ๋ฆฌ๋“œ์™€ ๋ฐ์ดํ„ฐ์…‹์„ ์—ฐ๊ฒฐํ•˜๋ฉด์„œ ์ž๋™์œผ๋กœ formats ์†์„ฑ๊ฐ’์ด ๋งŒ๋“ค์–ด์กŒ์ง€๋งŒ ๋‹ค๋ฅธ ํ˜•์‹์œผ๋กœ ๋ฐ์ดํ„ฐ๋ฅผ ํ‘œ๊ธฐํ•˜๊ธฐ๋ฅผ ์›ํ•œ๋‹ค๋ฉด ๊ทธ๋ฆฌ๋“œ ์ฝ˜ํ…์ธ  ์—๋””ํ„ฐ์—์„œ ์›ํ•˜๋Š” ํ˜•์‹์„ ๋งŒ๋“ค ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๊ทธ๋ฆฌ๋“œ๋ฅผ ๋”๋ธ”ํด๋ฆญํ•˜๊ฑฐ๋‚˜ ์†์„ฑ์ฐฝ์—์„œ formats ์†์„ฑ๊ณผ ์—ฐ๊ฒฐ๋œ ๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜๋ฉด ๊ทธ๋ฆฌ๋“œ ์ฝ˜ํ…์ธ  ์—๋””ํ„ฐ๊ฐ€ ์‹คํ–‰๋ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (๊ณ ๊ฐ์‚ฌ ๋ชฉ๋ก ์กฐํšŒ)|๊ทธ๋ฆฌ๋“œ|๊ทธ๋ฆฌ๋“œ ์ฝ˜ํ…์ธ  ์—๋””ํ„ฐ(Grid Contents Editor)/1.jpg</ImgTag> ๊ทธ๋ฆฌ๋“œ ์ฝ˜ํ…์ธ  ์—๋””ํ„ฐ๋Š” ๊ทธ๋ฆฌ๋“œ์— ๋ฐ์ดํ„ฐ๋ฅผ ์–ด๋–ป๊ฒŒ ๋ณด์—ฌ์ค„์ง€๋ฅผ ํŽธ์ง‘ํ•  ์ˆ˜ ์žˆ๋Š” ๊ณต๊ฐ„์ž…๋‹ˆ๋‹ค. ๋ฐ์ดํ„ฐ๋ฅผ ๋ณด์—ฌ์ฃผ๋Š” ํ˜•์‹๋งŒ ๋‹ค๋ฃจ๋ฉฐ ์‹ค์ œ ๋ฐ์ดํ„ฐ์…‹์— ์˜ํ–ฅ์„ ์ฃผ์ง€๋Š” ์•Š์Šต๋‹ˆ๋‹ค. ๋‹จ๊ณ„ 1. Dataset ๋ฐ”์ธ๋”ฉ ์‹œ ์ž๋™ ์ƒ์„ฑ๋œ ํฌ๋งท ์‚ญ์ œํ•˜๊ธฐ ์ƒˆ๋กœ์šด ํ˜•์‹์„ ํŽธ์ง‘ํ•˜๊ธฐ ์œ„ํ•ด ๊ธฐ์กด ์„ค์ •๋œ ๋‚ด์šฉ์„ ์‚ญ์ œํ•ฉ๋‹ˆ๋‹ค. ๊ทธ๋ฆฌ๋“œ ์ฝ˜ํ…์ธ  ์—๋””ํ„ฐ์—์„œ row0 ํ•ญ๋ชฉ์„ ์„ ํƒํ•˜๊ณ  ํ‚ค๋ณด๋“œ Shift ํ‚ค ๋˜๋Š” Ctrl ํ‚ค๋ฅผ ๋ˆ„๋ฅธ ์ƒํƒœ์—์„œ row1 ํ•ญ๋ชฉ์„ ์„ ํƒํ•˜๊ณ  ์—๋””ํ„ฐ ์ƒ๋‹จ ํˆด๋ฐ”์—์„œ Delete๋ฅผ ์„ ํƒํ•ด ์ž๋™ ์ƒ์„ฑ๋œ ํฌ๋งท์„ ์‚ญ์ œํ•ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (๊ณ ๊ฐ์‚ฌ ๋ชฉ๋ก ์กฐํšŒ)|๊ทธ๋ฆฌ๋“œ|๊ทธ๋ฆฌ๋“œ ์ฝ˜ํ…์ธ  ์—๋””ํ„ฐ(Grid Contents Editor)/2.jpg</ImgTag> 8๊ฐœ ์ปฌ๋Ÿผ์„ 2๊ฐœ์˜ ํ–‰์—์„œ ๋ณด์—ฌ์ฃผ๋„๋ก ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค. ์ˆ˜์ •๋œ ํฌ๋งท์€ 4๊ฐœ์˜ ์ปฌ๋Ÿผ์„ ๊ฐ€์ง€๊ณ  ์ปฌ๋Ÿผ์— ๋”ฐ๋ผ 2๊ฐœ์˜ ๋จธ๋ฆฌ(Head) ํ–‰๊ณผ ๋ณธ๋ฌธ(Body) ํ–‰์„ ๊ฐ€์ง‘๋‹ˆ๋‹ค. ๋‹จ๊ณ„ 2. Head Row ์ถ”๊ฐ€ ๋จผ์ € ๋จธ๋ฆฌ ํ–‰์„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. ๊ทธ๋ฆฌ๋“œ ์ปจํ…์ธ  ์—๋””ํ„ฐ ์ƒ๋‹จ ํˆด๋ฐ”์—์„œ [Add Head Row] ํ•ญ๋ชฉ์„ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (๊ณ ๊ฐ์‚ฌ ๋ชฉ๋ก ์กฐํšŒ)|๊ทธ๋ฆฌ๋“œ|๊ทธ๋ฆฌ๋“œ ์ฝ˜ํ…์ธ  ์—๋””ํ„ฐ(Grid Contents Editor)/3.jpg</ImgTag> ๋‹จ๊ณ„ 3. Column 4๊ฐœ ์ถ”๊ฐ€ ๊ทธ๋ฆฌ๊ณ  4๊ฐœ์˜ ์ปฌ๋Ÿผ์„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. ๋จธ๋ฆฌ ํ–‰์„ ์ถ”๊ฐ€ํ•˜๊ณ  ๋‚˜๋ฉด ๊ธฐ๋ณธ์ ์œผ๋กœ 1๊ฐœ์˜ ์ปฌ๋Ÿผ์ด ๋งŒ๋“ค์–ด์ง€๋ฉด์„œ Add Column ํ•ญ๋ชฉ์ด ํ™œ์„ฑํ™”๋ฉ๋‹ˆ๋‹ค. Add Column ํ•ญ๋ชฉ์„ ์„ ํƒํ•ด 3๊ฐœ์˜ ์ปฌ๋Ÿผ์„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (๊ณ ๊ฐ์‚ฌ ๋ชฉ๋ก ์กฐํšŒ)|๊ทธ๋ฆฌ๋“œ|๊ทธ๋ฆฌ๋“œ ์ฝ˜ํ…์ธ  ์—๋””ํ„ฐ(Grid Contents Editor)/4.jpg</ImgTag> ๋‹จ๊ณ„ 4. Head Row, Body Row ์ถ”๊ฐ€ col2์™€ col3 ์ปฌ๋Ÿผ์— 2๊ฐ€์ง€ ๋ฐ์ดํ„ฐ๋ฅผ ํ‘œ๊ธฐํ•˜๊ธฐ ์œ„ํ•ด ๋จธ๋ฆฌ ํ–‰๊ณผ ๋ณธ๋ฌธ ํ–‰์„ 2๊ฐœ์”ฉ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. ๋ณธ๋ฌธ ํ–‰์€ Add Body Row ํ•ญ๋ชฉ์„ ์„ ํƒํ•ด ์ถ”๊ฐ€ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (๊ณ ๊ฐ์‚ฌ ๋ชฉ๋ก ์กฐํšŒ)|๊ทธ๋ฆฌ๋“œ|๊ทธ๋ฆฌ๋“œ ์ฝ˜ํ…์ธ  ์—๋””ํ„ฐ(Grid Contents Editor)/5.jpg</ImgTag> ๋‹จ๊ณ„ 5. Merge Cells col0๊ณผ col1 ์ปฌ๋Ÿผ์€ ํ•˜๋‚˜์˜ ๋ฐ์ดํ„ฐ๋งŒ ์—ฐ๊ฒฐํ•ด์ฃผ๊ธฐ ๋•Œ๋ฌธ์— ์…€์„ ํ•ฉ์ณ์ฃผ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. col0์˜ ๋จธ๋ฆฌ ํ–‰์— ์žˆ๋Š” ์…€์„ ์„ ํƒํ•˜๊ณ  ์—๋””ํ„ฐ ํˆด๋ฐ”์—์„œ [Merge Cells] ํ•ญ๋ชฉ์„ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค. ์—ฌ๋Ÿฌ ๊ฐœ์˜ ์…€์„ ์„ ํƒํ•  ๋•Œ๋Š” ํ•˜๋‚˜์˜ ์…€์„ ์„ ํƒํ•œ ํ›„์— ๋งˆ์šฐ์Šค๋ฅผ ๋“œ๋ž˜๊ทธํ•˜๊ฑฐ๋‚˜ Shiftํ‚ค๋ฅผ ๋ˆ„๋ฅธ ์ฑ„ ๋‹ค๋ฅธ ์…€์„ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค. [Merge Cells] ํ•ญ๋ชฉ์€ 2๊ฐ€์ง€ ์˜ต์…˜์ด ์žˆ์Šต๋‹ˆ๋‹ค. [Merge Cells(A big cell)]์€ ๊ฐ ์…€ ์†์„ฑ์„ ๋ชจ๋‘ ์‚ญ์ œํ•˜๊ณ  ํ•˜๋‚˜์˜ ์…€๋กœ ํ•ฉ์น˜๋Š” ๊ฒƒ์ด๊ณ  [Merge Cells(Having child cells)]๋Š” ๊ฐœ๋ณ„ ์…€ ์†์„ฑ์„ ๊ทธ๋Œ€๋กœ ์œ ์ง€ํ•œ ์ƒํƒœ์—์„œ ํ•˜๋‚˜์˜ ์…€์ฒ˜๋Ÿผ ๋ณด์ด๋„๋ก ํ•ฉ์น˜๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค. ์ด๋ฒˆ ์˜ˆ์ œ์—์„œ๋Š” ๊ฐ ์…€ ์†์„ฑ์„ ์œ ์ง€ํ•  ํ•„์š”๊ฐ€ ์—†์œผ๋‹ˆ [Merge Cells(A big cell)] ํ•ญ๋ชฉ์„ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (๊ณ ๊ฐ์‚ฌ ๋ชฉ๋ก ์กฐํšŒ)|๊ทธ๋ฆฌ๋“œ|๊ทธ๋ฆฌ๋“œ ์ฝ˜ํ…์ธ  ์—๋””ํ„ฐ(Grid Contents Editor)/6.jpg</ImgTag> col0, col1์˜ ๋ณธ๋ฌธ ํ–‰์˜ ์…€๋„ ํ•˜๋‚˜๋กœ ํ•ฉ์ณ์ค๋‹ˆ๋‹ค. ์ฃผ์˜: Ctrlํ‚ค๋ฅผ ๋ˆ„๋ฅธ ์ƒํƒœ์—์„œ ํ•ฉ์ณ์งˆ ์…€์„ ์„ ํƒํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ํ•˜์ง€๋งŒ ์ปฌ๋Ÿผ๊ณผ ํ–‰์ด ์‚ฌ๊ฐํ˜• ํ˜•ํƒœ๋กœ ์„ ํƒ๋˜์ง€ ์•Š์€ ๊ฒฝ์šฐ์—๋Š” [Merge Cells] ๋ฉ”๋‰ด๊ฐ€ ํ™œ์„ฑํ™”๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์˜ˆ๋ฅผ ๋“ค์–ด ์•„๋ž˜์˜ ๊ฒฝ์šฐ๋Š” ํ•ฉ์น˜๊ธฐ ๊ธฐ๋Šฅ์„ ์ฒ˜๋ฆฌํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (๊ณ ๊ฐ์‚ฌ ๋ชฉ๋ก ์กฐํšŒ)|๊ทธ๋ฆฌ๋“œ|๊ทธ๋ฆฌ๋“œ ์ฝ˜ํ…์ธ  ์—๋””ํ„ฐ(Grid Contents Editor)/7.jpg</ImgTag> ๋‹จ๊ณ„ 6. ์ปฌ๋Ÿผ์— ๋ฐ”์ธ๋”ฉํ•˜๋Š” ํ•ญ๋ชฉ ์ง€์ • ์•„๋ž˜์™€ ๊ฐ™์ด ๊ฐ ์ปฌ๋Ÿผ์— ํ•ด๋‹นํ•˜๋Š” ๊ฐ’์„ ์ง€์ •ํ•ฉ๋‹ˆ๋‹ค. ํ•ด๋‹นํ•˜๋Š” ์…€์„ ์„ ํƒํ•˜๊ณ  ์˜ค๋ฅธ์ชฝ์— ๋ณด์ด๋Š” ์†์„ฑ ์ฐฝ์—์„œ ๊ฐ’์„ ์ž…๋ ฅํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (๊ณ ๊ฐ์‚ฌ ๋ชฉ๋ก ์กฐํšŒ)|๊ทธ๋ฆฌ๋“œ|๊ทธ๋ฆฌ๋“œ ์ฝ˜ํ…์ธ  ์—๋””ํ„ฐ(Grid Contents Editor)/1.png</ImgTag> Grid ์ปดํฌ๋„ŒํŠธ์™€ ๋ฐ”์ธ๋”ฉ๋œ Dataset์ด ์žˆ๋Š” ๊ฒฝ์šฐ Dataset์— ์„ค์ •๋œ ์ปฌ๋Ÿผ ๋ชฉ๋ก์„ ์—๋””ํ„ฐ์—์„œ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. text ์†์„ฑ์— ์ง์ ‘ 'bind:id'๋ผ๋Š” ๊ฐ’์„ ์ž…๋ ฅํ•˜๊ฑฐ๋‚˜ ๋ชฉ๋ก์—์„œ 'id' ํ•ญ๋ชฉ์„ ์„ ํƒํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (๊ณ ๊ฐ์‚ฌ ๋ชฉ๋ก ์กฐํšŒ)|๊ทธ๋ฆฌ๋“œ|๊ทธ๋ฆฌ๋“œ ์ฝ˜ํ…์ธ  ์—๋””ํ„ฐ(Grid Contents Editor)/8.jpg</ImgTag> ๊ฐ’์„ ์ž…๋ ฅํ•˜๊ณ  OK ๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜๋ฉด ์ฐฝ์ด ๋‹ซํžˆ๋ฉด์„œ ๊ทธ๋ฆฌ๋“œ์— ์ˆ˜์ •๋œ ์ปฌ๋Ÿผ ํ˜•์‹์ด ๋ฐ˜์˜๋ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (๊ณ ๊ฐ์‚ฌ ๋ชฉ๋ก ์กฐํšŒ)|๊ทธ๋ฆฌ๋“œ|๊ทธ๋ฆฌ๋“œ ์ฝ˜ํ…์ธ  ์—๋””ํ„ฐ(Grid Contents Editor)/9.jpg</ImgTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ๋ฐ์ดํ„ฐ ํ…Œ์ŠคํŠธ ### Assistant: ์„œ๋น„์Šค ์šด์˜ ๋‹จ๊ณ„์—์„œ๋Š” ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์— ์žˆ๋Š” ๋ฐ์ดํ„ฐ๋ฅผ ๊ฐ€์ ธ์™€ ํ™”๋ฉด์— ๋ณด์—ฌ์ฃผ์ง€๋งŒ, ํ…Œ์ŠคํŠธ ๋‹จ๊ณ„์—์„œ๋Š” ๊ธฐ๋Šฅ ๊ตฌํ˜„ ์—ฌ๋ถ€๋งŒ ํ™•์ธํ•  ๋•Œ๋„ ์žˆ์Šต๋‹ˆ๋‹ค. ๊ฐ„๋‹จํ•œ ์Šคํฌ๋ฆฝํŠธ๋กœ ๋ฐ์ดํ„ฐ๋ฅผ ๋ฐ์ดํ„ฐ์…‹์— ์ถ”๊ฐ€ํ•ด์ฃผ๊ณ  ์—ฐ๊ฒฐ๋œ ๊ทธ๋ฆฌ๋“œ์— ๋ฐ์ดํ„ฐ๋ฅผ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค.</s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ๋ฐ์ดํ„ฐ ํ…Œ์ŠคํŠธ ๋ฒ„ํŠผ ํด๋ฆญ ์ด๋ฒคํŠธ ### Assistant: btnSearch ๋ฒ„ํŠผ์— ํด๋ฆญ ์ด๋ฒคํŠธ๋ฅผ ์ถ”๊ฐ€ํ•˜๊ณ  ๋ฐ์ดํ„ฐ๋ฅผ ์ฒ˜๋ฆฌํ•˜๋Š” ์Šคํฌ๋ฆฝํŠธ๋ฅผ ์ž‘์„ฑํ•ฉ๋‹ˆ๋‹ค. btnSearch ๋ฒ„ํŠผ ์ปดํฌ๋„ŒํŠธ๋ฅผ ์„ ํƒํ•˜๊ณ  ์†์„ฑ์ฐฝ์—์„œ onclick ์ด๋ฒคํŠธ๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. ์ด๋ฒคํŠธ ์†์„ฑ๊ฐ’์„ ์ถ”๊ฐ€ํ•˜๊ณ  ์†์„ฑ์ฐฝ์„ ๋”๋ธ”ํด๋ฆญํ•˜๊ฑฐ๋‚˜ ์—”ํ„ฐํ‚ค๋ฅผ ์ž…๋ ฅํ•˜๋ฉด ํ•ด๋‹น ์ด๋ฒคํŠธ ํ•จ์ˆ˜๋ฅผ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (๊ณ ๊ฐ์‚ฌ ๋ชฉ๋ก ์กฐํšŒ)|๋ฐ์ดํ„ฐ ํ…Œ์ŠคํŠธ|๋ฒ„ํŠผ ํด๋ฆญ ์ด๋ฒคํŠธ/1.png</ImgTag> ์ด๋ฒคํŠธ ์Šคํฌ๋ฆฝํŠธ๋Š” ์•„๋ž˜์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค. ๋ฐ์ดํ„ฐ์…‹์— 1๊ฑด์˜ ๋ฐ์ดํ„ฐ ํ–‰์„ ์ถ”๊ฐ€ํ•˜๊ณ  ๊ฐ’์„ ์ง€์ •ํ•ด์ค๋‹ˆ๋‹ค. <CodeTag> this.divCommand_btnSearch_onclick = function(obj:nexacro.Button,e:nexacro.ClickEventInfo){ var row = this.dsCustomers.addRow(); this.dsCustomers.setColumn(row, 'id', 'TC-001'); this.dsCustomers.setColumn(row, 'name', 'Tzuyu'); this.dsCustomers.setColumn(row, 'email', 'ceo@twice.com'); this.dsCustomers.setColumn(row, 'phone', '6987-6543'); this.dsCustomers.setColumn(row, 'comp_name', 'TWICE'); this.dsCustomers.setColumn(row, 'department', '0'); this.dsCustomers.setColumn(row, 'comp_phone', '6506-7000'); this.dsCustomers.setColumn(row, 'comp_addr', 'Seoul');}; </CodeTag> ํŒ: onclick ์ด๋ฒคํŠธ ์ฒ˜๋ฆฌ ์‹œ TypeError๊ฐ€ ๋ฐœ์ƒํ•œ๋‹ค๋ฉด ์ปดํฌ๋„ŒํŠธ๋‚˜ ์˜ค๋ธŒ์ ํŠธ์˜ id๋ฅผ ์ž˜๋ชป ์ž…๋ ฅํ–ˆ์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์˜ˆ๋ฅผ ๋“ค์–ด ์˜ˆ์ œ์—์„œ this.dsCustomer.addRow() ๋ผ๊ณ  ์ž…๋ ฅํ•œ ๊ฒฝ์šฐ ์•„๋ž˜์™€ ๊ฐ™์€ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ•ฉ๋‹ˆ๋‹ค. TypeError: Cannot read property 'addRow' of undefined</s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ๋ฐ์ดํ„ฐ ํ…Œ์ŠคํŠธ Generate ### Assistant: ์ด์ œ ๋งŒ๋“ค์–ด์ง„ ์•ฑ์„ ์›น๋ธŒ๋ผ์šฐ์ €์—์„œ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค. ๋จผ์ € ์ž‘์„ฑ๋œ ์ฝ”๋“œ๋ฅผ ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ ํŒŒ์ผ๋กœ ๋ณ€ํ™˜ํ•ด์ค๋‹ˆ๋‹ค. Output ์ฐฝ์—์„œ ์ •์ƒ์ ์œผ๋กœ ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ ํŒŒ์ผ์ด ์ƒ์„ฑ๋˜๊ณ  ์žˆ๋Š”์ง€ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. [Menu] Generate > Application <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (๊ณ ๊ฐ์‚ฌ ๋ชฉ๋ก ์กฐํšŒ)|๋ฐ์ดํ„ฐ ํ…Œ์ŠคํŠธ|Generate/1.jpg</ImgTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ๋ฐ์ดํ„ฐ ํ…Œ์ŠคํŠธ Quick View ### Assistant: ์›น์„œ๋ฒ„๋ฅผ ์‹คํ–‰ํ•˜๊ณ  ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค์—์„œ Quick View <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (๊ณ ๊ฐ์‚ฌ ๋ชฉ๋ก ์กฐํšŒ)|๋ฐ์ดํ„ฐ ํ…Œ์ŠคํŠธ|Quick View/1.jpg</ImgTag> ๋ฅผ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค. ์›น๋ธŒ๋ผ์šฐ์ €์—์„œ Quick View๋ฅผ ์‹คํ–‰ํ•˜๋ ค๋ฉด ๋นŒ๋“œ ํˆด๋ฐ”๋ฅผ ํ™œ์„ฑํ™”ํ•˜๊ณ  ๋ธŒ๋ผ์šฐ์ € ์˜ต์…˜์„ ๋ณ€๊ฒฝํ•ด์ฃผ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ์›น๋ธŒ๋ผ์šฐ์ € ์˜ต์…˜์—๋Š” PC์— ์„ค์น˜๋œ ์›น๋ธŒ๋ผ์šฐ์ €๋ฅผ ์„ ํƒํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ง€์ •๋œ ์›น๋ธŒ๋ผ์šฐ์ €๊ฐ€ ์‹คํ–‰๋˜๋ฉด์„œ ์‹คํ–‰๋œ ๋„ฅ์‚ฌํฌ๋กœ ์•ฑ์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. Search ๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜๋ฉด ์Šคํฌ๋ฆฝํŠธ์—์„œ ์ถ”๊ฐ€ํ•œ ๋ฐ์ดํ„ฐ๊ฐ€ ๊ทธ๋ฆฌ๋“œ์— ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (๊ณ ๊ฐ์‚ฌ ๋ชฉ๋ก ์กฐํšŒ)|๋ฐ์ดํ„ฐ ํ…Œ์ŠคํŠธ|Quick View/2.jpg</ImgTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (ํŠธ๋žœ์žญ์…˜) ### Assistant: ์—…๋ฌด์— ์‚ฌ์šฉ๋˜๋Š” ์•ฑ์€ ํŠน๋ณ„ํ•œ ๊ฒฝ์šฐ๋ฅผ ์ œ์™ธํ•˜๊ณ ๋Š” ๋ฐ์ดํ„ฐ๋ฅผ ๊ฐœ๋ณ„ PC์—์„œ ๊ด€๋ฆฌํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ๋ฐ์ดํ„ฐ๋ฅผ ๊ด€๋ฆฌํ•˜๋Š” ์„œ๋ฒ„์—์„œ ์กฐํšŒ๋œ ๋ฐ์ดํ„ฐ๋ฅผ ์•ฑ์—์„œ ํŽธ์ง‘ํ•˜๊ณ  ๊ทธ ๊ฒฐ๊ณผ๋ฅผ ๋‹ค์‹œ ๋ฐ์ดํ„ฐ ์„œ๋ฒ„์— ๊ด€๋ฆฌํ•˜๋„๋ก ํ•ฉ๋‹ˆ๋‹ค. ์ด๋ฒˆ ์žฅ์—์„œ๋Š” ๋„ฅ์‚ฌํฌ๋กœ ์•ฑ์—์„œ ์ฝ”๋“œ ๋ฐ์ดํ„ฐ๋ฅผ ์–ด๋–ป๊ฒŒ ๋‹ค๋ฃจ๊ณ  ์„œ๋ฒ„์— ์žˆ๋Š” ๋ฐ์ดํ„ฐ๋ฅผ ์–ด๋–ค ์‹์œผ๋กœ ๊ฐ€์ ธ์˜ค๋Š”์ง€ ์‚ดํŽด๋ณด๊ณ  ์›น๋ธŒ๋ผ์šฐ์ €์—์„œ ๋กœ๊ทธ๋ฅผ ํ™•์ธํ•˜๋Š” ๋ฐฉ๋ฒ•๊นŒ์ง€ ์•Œ์•„๋ด…๋‹ˆ๋‹ค.</s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ๊ทธ๋ฆฌ๋“œ ์ฝค๋ณด ### Assistant: ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์— ๊ด€๋ฆฌ๋˜๋Š” ํ•ญ๋ชฉ ์ค‘ ๊ตญ๊ฐ€, ๋ถ€์„œ, ์ง๊ธ‰๊ณผ ๊ฐ™์€ ๋ฐ์ดํ„ฐ๋Š” ์—ฌ๋Ÿฌ ๋ฒˆ ๋ฐ˜๋ณตํ•ด์„œ ์‚ฌ์šฉ๋˜๋Š” ํ•ญ๋ชฉ์ž…๋‹ˆ๋‹ค. ์ด๋Ÿฐ ๋ฐ์ดํ„ฐ๋ฅผ ๋ฌธ์ž์—ด ๊ทธ๋Œ€๋กœ ์ž…๋ ฅํ•˜๋ฉด ์ž…๋ ฅํ•˜๋Š” ์‚ฌ์šฉ์ž๋งˆ๋‹ค ๋‹ค๋ฅด๊ฒŒ ์ž…๋ ฅํ•  ์ˆ˜๋„ ์žˆ๊ณ  ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์—์„œ ๋ถˆํ•„์š”ํ•˜๊ฒŒ ๊ณต๊ฐ„์„ ์ฐจ์ง€ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๊ทธ๋ž˜์„œ ์ด๋Ÿฐ ๋ฐ์ดํ„ฐ๋Š” ๋ณ„๋„์˜ ์ฝ”๋“œ ํ…Œ์ด๋ธ”์„ ๋งŒ๋“ค์–ด ๊ด€๋ฆฌํ•ฉ๋‹ˆ๋‹ค. ์˜ˆ์ œ์—์„œ๋„ Department ํ•ญ๋ชฉ์€ ๋ถ€์„œ ์ด๋ฆ„์ด ์•„๋‹Œ ์ฝ”๋“œ๋งŒ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์—์„œ ๊ด€๋ฆฌํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ํ•˜์ง€๋งŒ ์‚ฌ์šฉ์ž์—๊ฒŒ ๋ณด์—ฌ์ค„ ๋•Œ๋Š” ๋ถ€์„œ ์ด๋ฆ„์„ ๋ณด์—ฌ์ฃผ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ๊ทธ๋ฆฌ๋“œ ์ปดํฌ๋„ŒํŠธ์—๋Š” ๋ฐ์ดํ„ฐ ํ˜•์‹์— ๋”ฐ๋ผ displaytype ์†์„ฑ์„ ์„ ํƒํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.</s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ๊ทธ๋ฆฌ๋“œ ์ฝค๋ณด ๋ฐ์ดํ„ฐ์…‹(Dataset) ### Assistant: ๋จผ์ € ๋ฐ์ดํ„ฐ์…‹์„ ์ƒˆ๋กœ ๋งŒ๋“ค๊ณ  ์†์„ฑ๊ณผ ์ปฌ๋Ÿผ๊ฐ’์„ ์•„๋ž˜์™€ ๊ฐ™์ด ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (ํŠธ๋žœ์žญ์…˜)|๊ทธ๋ฆฌ๋“œ ์ฝค๋ณด|๋ฐ์ดํ„ฐ์…‹(Dataset)/1.png</ImgTag> <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (ํŠธ๋žœ์žญ์…˜)|๊ทธ๋ฆฌ๋“œ ์ฝค๋ณด|๋ฐ์ดํ„ฐ์…‹(Dataset)/1.jpg</ImgTag> ์•„๋ž˜ ์ฝ”๋“œ๋ฅผ [Dataset Editor > Source] ํƒญ์— ์ž…๋ ฅํ•  ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค. <CodeTag> <ColumnInfo> <Column id='code' type='STRING' size='32'/> <Column id='value' type='STRING' size='32'/></ColumnInfo><Rows> <Row> <Col id='code'>0</Col> <Col id='value'>Boardroom</Col> </Row> <Row> <Col id='code'>1</Col> <Col id='value'>Accounting</Col> </Row> <Row> <Col id='code'>2</Col> <Col id='value'>Personal</Col> </Row> <Row> <Col id='code'>3</Col> <Col id='value'>Human resources</Col> </Row> <Row> <Col id='code'>4</Col> <Col id='value'>Sales</Col> </Row> <Row> <Col id='code'>5</Col> <Col id='value'>Marketing</Col> </Row> <Row> <Col id='code'>6</Col> <Col id='value'>Engineering</Col> </Row></Rows> </CodeTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ๊ทธ๋ฆฌ๋“œ ์ฝค๋ณด ๊ทธ๋ฆฌ๋“œ(Grid) ### Assistant: ๊ทธ๋ฆฌ๋“œ๋ฅผ ๋”๋ธ”ํด๋ฆญํ•ด ๊ทธ๋ฆฌ๋“œ ์ฝ˜ํ…์ธ  ์—๋””ํ„ฐ๋ฅผ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค. Department ํ•ญ๋ชฉ์˜ ๋ฐ์ดํ„ฐ ์…€์„ ์„ ํƒํ•˜๊ณ  ์†์„ฑ์ฐฝ์—์„œ ๋‹ค์Œ ํ•ญ๋ชฉ์„ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค. combodataset ํ•ญ๋ชฉ์€ ์ง์ ‘ ์ž…๋ ฅํ•˜๊ฑฐ๋‚˜ ๋ชฉ๋ก์—์„œ ์„ ํƒํ•  ์ˆ˜ ์žˆ์œผ๋ฉฐ combodataset ํ•ญ๋ชฉ์ด ์ž…๋ ฅ๋˜๋ฉด combocodecol, combodatacol ํ•ญ๋ชฉ๋„ ์ง์ ‘ ์ž…๋ ฅํ•˜๊ฑฐ๋‚˜ ๋ชฉ๋ก์—์„œ ์„ ํƒํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (ํŠธ๋žœ์žญ์…˜)|๊ทธ๋ฆฌ๋“œ ์ฝค๋ณด|๊ทธ๋ฆฌ๋“œ(Grid)/1.png</ImgTag> <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (ํŠธ๋žœ์žญ์…˜)|๊ทธ๋ฆฌ๋“œ ์ฝค๋ณด|๊ทธ๋ฆฌ๋“œ(Grid)/1.jpg</ImgTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ๊ทธ๋ฆฌ๋“œ ์ฝค๋ณด Generate ### Assistant: ADL์ด ์•„๋‹Œ ํผ์„ ์ˆ˜์ •ํ•œ ๊ฒฝ์šฐ์—๋Š” ์ˆ˜์ •๋œ ํผ์— ํ•ด๋‹นํ•˜๋Š” ํŒŒ์ผ๋งŒ ๋‹ค์‹œ ๋งŒ๋“ค๋ฉด ๋ฉ๋‹ˆ๋‹ค. ๋ฉ”๋‰ด์—์„œ Generate Application์ด ์•„๋‹Œ Generate File์„ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค. [Menu] Generate > File ํŒ: ํŠน์ • ํŒŒ์ผ์„ ์ˆ˜์ •ํ•˜๊ณ  ์ €์žฅํ•˜๋Š” ๊ฒฝ์šฐ ํ•ด๋‹น ํŒŒ์ผ์„ ์ž๋™์œผ๋กœ ๋‹ค์‹œ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค. ์œ„์˜ ์„ค๋ช…์ฒ˜๋Ÿผ ์ง์ ‘ ๋ฉ”๋‰ด๋ฅผ ์„ ํƒํ•ด์„œ ๋‹ค์‹œ ์ƒ์„ฑํ•˜์ง€ ์•Š์•„๋„ ์ˆ˜์ •๋œ ๋‚ด์šฉ์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. Quick View๋กœ ๋‹ค์‹œ ์‹คํ–‰ํ•˜๋ฉด Department ํ•ญ๋ชฉ์ด ์ฝ”๋“œ ๋Œ€์‹  ๋ถ€์„œ ์ด๋ฆ„์œผ๋กœ ํ‘œ๊ธฐ๋˜๋Š” ๊ฒƒ์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (ํŠธ๋žœ์žญ์…˜)|๊ทธ๋ฆฌ๋“œ ์ฝค๋ณด|Generate/1.jpg</ImgTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ํŠธ๋žœ์žญ์…˜ ### Assistant: ์ด๋ฒˆ์—๋Š” transaction ๋ฉ”์†Œ๋“œ๋ฅผ ์‚ฌ์šฉํ•ด ์‹ค์ œ ์„œ๋ฒ„์—์„œ ๋ฐ์ดํ„ฐ๋ฅผ ๊ฐ€์ ธ์˜ต๋‹ˆ๋‹ค. ๋„ฅ์‚ฌํฌ๋กœ ์•ฑ์—์„œ ์‚ฌ์šฉํ•˜๋Š” ๋ฐ์ดํ„ฐ ํ˜•์‹์— ๋”ฐ๋ผ ๋งŒ๋“ค์–ด์ง„ XML ํŒŒ์ผ์„ ๊ฐ€์ ธ์˜ค๋Š” ๋ฐฉ์‹์œผ๋กœ ํ…Œ์ŠคํŠธ๋ฅผ ์ง„ํ–‰ํ•ฉ๋‹ˆ๋‹ค. ๋‹จ์ˆœ ๋ฐ์ดํ„ฐ ์กฐํšŒ๋ฅผ ์œ„ํ•œ ํ…Œ์ŠคํŠธ ๋ฐ์ดํ„ฐ๋ฅผ ์ž‘์„ฑํ•œ ๊ฒƒ์ด๋ฉฐ ์‹ค์ œ ์šด์˜ ํ™˜๊ฒฝ์—์„œ๋Š” ๋ฐ์ดํ„ฐ ์ €์žฅ์†Œ์— ์ €์žฅ๋œ ๋ฐ์ดํ„ฐ๋ฅผ ๊ฐ€์ ธ์˜ค๋Š” ํ˜•์‹์œผ๋กœ ๊ฐœ๋ฐœํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.</s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ํŠธ๋žœ์žญ์…˜ sample.xml ### Assistant: ์˜ˆ์ œ์— ์‚ฌ์šฉํ•˜๋Š” XML ํŒŒ์ผ์€ ์•„๋ž˜์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค. 4๊ฐœ์˜ ๋ ˆ์ฝ”๋“œ๋ฅผ ๊ฐ€์ง€๊ณ  ์žˆ์œผ๋ฉฐ ์กฐํšŒ๊ฐ€ ์„ฑ๊ณต๋œ ๊ฒƒ์„ ์ „์ œ๋กœ ์ž‘์„ฑํ–ˆ์Šต๋‹ˆ๋‹ค. ๋…ธํŠธ: XML ํŒŒ์ผ์€ Generate Path ๊ฒฝ๋กœ ์•„๋ž˜์— ๊ฐ€์ ธ๋‹ค ๋†“์Šต๋‹ˆ๋‹ค. ์ด์ „ ์žฅ๋ถ€ํ„ฐ ๋”ฐ๋ผ์™”๋‹ค๋ฉด ํŒŒ์ผ ๊ฒฝ๋กœ๋Š” ์•„๋ž˜์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค. E:\88_TEST\01_PROJECT\CustomerList\sample.xml <CodeTag> ์ฝ”๋“œ 5- sample.xml<?xml version='1.0' encoding='utf-8'?><Root xmlns='http://www.nexacroplatform.com/platform/dataset' ver='5000' > <Parameters> <Parameter id='ErrorCode' type='int'>0</Parameter> <Parameter id='ErrorMsg' type='string'>SUCC</Parameter> </Parameters> <Dataset id='customers'> <ColumnInfo> <Column id='id' type='STRING' size='4'/> <Column id='name' type='STRING' size='16'/> <Column id='email' type='STRING' size='32'/> <Column id='phone' type='STRING' size='16'/> <Column id='comp_name' type='STRING' size='32'/> <Column id='department' type='STRING' size='32'/> <Column id='comp_phone' type='STRING' size='16'/> <Column id='comp_addr' type='STRING' size='256'/> </ColumnInfo> <Rows> <Row> <Col id='id'>TC-001</Col> <Col id='name'>Tzuyu</Col> <Col id='email'>ceo@twice.com</Col> <Col id='phone'>6987-6543</Col> <Col id='comp_name'>TWICE</Col> <Col id='department'>0</Col> <Col id='comp_phone'>6506-7000</Col> <Col id='comp_addr'>Seoul</Col> </Row> <Row> <Col id='id'>TC-002</Col> <Col id='name'>Kei</Col> <Col id='email'>kei@lovelyz.ca</Col> <Col id='phone'>7357-3715</Col> <Col id='comp_name'>Lovelyz</Col> <Col id='department'>4</Col> <Col id='comp_phone'>7357-7000</Col> <Col id='comp_addr'>Lansing</Col> </Row> <Row> <Col id='id'>TC-003</Col> <Col id='name'>Choa</Col> <Col id='email'>choa@aoa.com</Col> <Col id='phone'>9025-0645</Col> <Col id='comp_name'>AOA</Col> <Col id='department'>2</Col> <Col id='comp_phone'>9025-7000</Col> <Col id='comp_addr'>Coral Springs</Col> </Row> <Row> <Col id='id'>TC-004</Col> <Col id='name'>Zhou Jieqiong</Col> <Col id='email'>zhou.jieqiong@ioi.ca</Col> <Col id='phone'>7026-3815</Col> <Col id='comp_name'>I.O.I</Col> <Col id='department'>3</Col> <Col id='comp_phone'>7026-7000</Col> <Col id='comp_addr'>Elmira</Col> </Row> </Rows> </Dataset></Root> </CodeTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ํŠธ๋žœ์žญ์…˜ ๋ฒ„ํŠผ ํด๋ฆญ ์ด๋ฒคํŠธ ### Assistant: ์•ž์—์„œ ์ž‘์„ฑํ•œ ๋ฒ„ํŠผ ํด๋ฆญ ์ด๋ฒคํŠธ(divCommand_btnSearch_onclick)์— ์ˆ˜์ž‘์—…์œผ๋กœ ๋ฐ์ดํ„ฐ๋ฅผ ์ถ”๊ฐ€ํ•˜๋Š” ์ฝ”๋“œ ๋Œ€์‹ ์— sample.xml ํŒŒ์ผ์— ์ ‘๊ทผํ•ด์„œ ๋ฐ์ดํ„ฐ๋ฅผ ๊ฐ€์ ธ์˜ค๋Š” ์ฝ”๋“œ๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. ์ˆ˜์ •๋œ ์ฝ”๋“œ๋Š” ์•„๋ž˜์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค. transaction ๋ฉ”์†Œ๋“œ์— ํ•„์š”ํ•œ ํŒŒ๋ผ๋ฏธํ„ฐ๋ฅผ ์ง€์ •ํ•˜๊ณ  ๋ฉ”์†Œ๋“œ๋ฅผ ํ˜ธ์ถœํ•ฉ๋‹ˆ๋‹ค. transaction ๋ฉ”์†Œ๋“œ๋Š” ํŠน์ • ๋ฐ์ดํ„ฐ์…‹์˜ ๊ฐ’์„ ๊ฐฑ์‹ ํ•˜๊ธฐ ์œ„ํ•œ ์„œ๋น„์Šค(๋˜๋Š” ํŒŒ์ผ)์— ์ ‘๊ทผํ•ด ๋ฐ์ดํ„ฐ๋ฅผ ๋‚ด๋ ค๋ฐ›๊ณ  ์ž‘์—…์ด ์™„๋ฃŒ๋˜๋ฉด ์ฝœ๋ฐฑ(CallBack) ํ•จ์ˆ˜๋ฅผ ํ˜ธ์ถœํ•˜๋Š” ๋ฉ”์†Œ๋“œ์ž…๋‹ˆ๋‹ค. <CodeTag> this.divCommand_btnSearch_onclick = function(obj:nexacro.Button, e:nexacro.ClickEventInfo){ var id = 'search'; var url = 'http://localhost:8080/CustomerList/sample.xml'; var reqDs = ''; var respDs = 'dsCustomers=customers'; var args = ''; var callback = 'received'; this.transaction(id, url, reqDs, respDs, args, callback); } </CodeTag> ์˜ˆ์ œ์—์„œ transaction ๋ฉ”์†Œ๋“œ์— ์‚ฌ์šฉํ•œ ํŒŒ๋ผ๋ฏธํ„ฐ๋Š” ์•„๋ž˜์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (ํŠธ๋žœ์žญ์…˜)|ํŠธ๋žœ์žญ์…˜|๋ฒ„ํŠผ ํด๋ฆญ ์ด๋ฒคํŠธ/1.png</ImgTag> ๋…ธํŠธ: transaction ๋ฉ”์†Œ๋“œ๋Š” ๋น„๋™๊ธฐํ†ต์‹ , ๋ฐ”์ด๋„ˆ๋ฆฌํ†ต์‹ , ์••์ถ•ํ†ต์‹ ์„ ์ง€์ •ํ•˜๋Š” 3๊ฐœ์˜ ํŒŒ๋ผ๋ฏธํ„ฐ๊ฐ€ ๋” ์žˆ์œผ๋ฉฐ ํ•ด๋‹น ํŒŒ๋ผ๋ฏธํ„ฐ๋Š” ์ƒ๋žตํ•˜๋ฉด ๊ธฐ๋ณธ๊ฐ’์ด ์ ์šฉ๋ฉ๋‹ˆ๋‹ค.</s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ํŠธ๋žœ์žญ์…˜ ์ฝœ๋ฐฑ ํ•จ์ˆ˜ ### Assistant: transaction ๋ฉ”์†Œ๋“œ๋กœ ์„œ๋น„์Šค ๋˜๋Š” ํŒŒ์ผ์— ์ ‘๊ทผํ•œ ์ดํ›„์— ์ง€์ •๋œ ์ฝœ๋ฐฑ ํ•จ์ˆ˜๋ฅผ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค. ์ฝœ๋ฐฑํ•จ์ˆ˜๋Š” ์•„๋ž˜์™€ ๊ฐ™์ด ์ž‘์„ฑํ•ฉ๋‹ˆ๋‹ค. <CodeTag> this.received = function(id, code, message){ if (code == 0) { this.alert(this.dsCustomers.rowcount + ' numbers of data have been found.'); trace(this.dsCustomers.rowcount + ' numbers of data have been found.'); } else { this.alert('Error['+code+']:'+message); trace('Error['+code+']:'+message); }} </CodeTag> ์˜ˆ์ œ์—์„œ ์‚ฌ์šฉ๋œ XML ํŒŒ์ผ์€ ํ•ญ์ƒ ์„ฑ๊ณต ๋ฉ”์‹œ์ง€๋งŒ ๋ณด๋‚ด๊ธฐ ๋•Œ๋ฌธ์— ์•„๋ž˜์™€ ๊ฐ™์€ ๊ฒฐ๊ณผ๋ฅผ ๋ณด์—ฌ์ฃผ๋ฉฐ ๊ทธ๋ฆฌ๋“œ์— ๋ฐ์ดํ„ฐ๋ฅผ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (ํŠธ๋žœ์žญ์…˜)|ํŠธ๋žœ์žญ์…˜|์ฝœ๋ฐฑ ํ•จ์ˆ˜/1.jpg</ImgTag> ์ฃผ์˜: ํŠธ๋žœ์žญ์…˜ url์ด ๋„ฅ์‚ฌํฌ๋กœ ์•ฑ๊ณผ ๊ฐ™์€ ์„œ๋ฒ„์— ์žˆ์ง€ ์•Š๋‹ค๋ฉด Access-Control-Allow-Origin ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ํŒ: ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ•˜๋Š” ๊ฒฝ์šฐ code ๊ฐ’์€ -1์„ ๋ฐ˜ํ™˜ํ•˜๊ณ  message ๊ฐ’์€ ์˜ค๋ฅ˜์˜ ์ƒํƒœ๋ฅผ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค. ์ƒํ™ฉ์— ๋”ฐ๋ผ code๊ฐ’๋งŒ ๋ฐ˜ํ™˜ํ•˜๊ณ  message ๊ฐ’์ด ๋ฐ˜ํ™˜๋˜์ง€ ์•Š๋Š” ๊ฒฝ์šฐ๋„ ์žˆ๋Š”๋ฐ, ์„œ๋ฒ„์˜ ์˜ˆ์™ธ์ ์ธ ์ฒ˜๋ฆฌ๋ผ ์–ด๋–ค ์ƒํ™ฉ์ด๋ผ๊ณ  ํŠน์ •ํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.</s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ๋กœ๊ทธ ### Assistant: ๋„ฅ์‚ฌํฌ๋กœ ์•ฑ์—์„œ ๋ฐœ์ƒํ•˜๋Š” ์˜ค๋ฅ˜ ๋ฉ”์‹œ์ง€๋‚˜ trace ๋ฉ”์†Œ๋“œ์—์„œ ์ฒ˜๋ฆฌ๋˜๋Š” ๋ฉ”์‹œ์ง€๋Š” NRE์™€ ์›น๋ธŒ๋ผ์šฐ์ €์— ๋”ฐ๋ผ ์กฐ๊ธˆ์”ฉ ๋‹ค๋ฆ…๋‹ˆ๋‹ค. ํผ ๋””์ž์ธ์ด๋‚˜ Generate ๊ณผ์ •์—์„œ ๋ฐœ์ƒํ•˜๋Š” ์˜ค๋ฅ˜ ๋ฉ”์‹œ์ง€๋Š” ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค Output ์ฐฝ์—์„œ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ํ•˜์ง€๋งŒ ์•ฑ ์‹คํ–‰ ์ค‘์— ๋ฐœ์ƒํ•˜๋Š” ์˜ค๋ฅ˜๋‚˜ ๋ฉ”์‹œ์ง€๋Š” NRE์ผ ๊ฒฝ์šฐ์—๋Š” ๋„ฅ์‚ฌํฌ๋กœ ์ŠคํŠœ๋””์˜ค Output ์ฐฝ์—์„œ ํ™•์ธํ•  ์ˆ˜ ์žˆ์œผ๋ฉฐ ์›น๋ธŒ๋ผ์šฐ์ €์—์„œ ์‹คํ–‰ํ•  ๋•Œ๋Š” ๊ฐ ์›น๋ธŒ๋ผ์šฐ์ € ์„ค์ •์— ๋”ฐ๋ผ ํ™•์ธ ๋ฐฉ๋ฒ•์ด ๋‹ฌ๋ผ์ง‘๋‹ˆ๋‹ค. ์ฃผ์˜: ์•„๋ž˜ ๋‚ด์šฉ์€ ํŠน์ • ์‹œ์ ์˜ ์›น๋ธŒ๋ผ์šฐ์ € ๋ฒ„์ „์—์„œ ํ™•์ธํ•œ ๋‚ด์šฉ์ž…๋‹ˆ๋‹ค. ์‚ฌ์šฉํ•˜๋Š” ๋ฒ„์ „์— ๋”ฐ๋ผ ์ผ๋ถ€ ๋‚ด์šฉ์ด ๋ณ€๊ฒฝ๋  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. - ๊ตฌ๊ธ€ ํฌ๋กฌ 61.x - ํŒŒ์ด์–ดํญ์Šค 55.x - ์ธํ„ฐ๋„ท ์ต์Šคํ”Œ๋กœ๋Ÿฌ 11.x</s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ๋กœ๊ทธ ๊ตฌ๊ธ€ ํฌ๋กฌ ### Assistant: ์•„๋ž˜ ๋ฉ”๋‰ด์—์„œ ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ ์ฝ˜์†”์„ ๋ณด์ด๊ฒŒ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. [Menu] More tools > Developer tools <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (ํŠธ๋žœ์žญ์…˜)|๋กœ๊ทธ|๊ตฌ๊ธ€ ํฌ๋กฌ/1.jpg</ImgTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ๋กœ๊ทธ ํŒŒ์ด์–ดํญ์Šค ### Assistant: ์•„๋ž˜ ๋ฉ”๋‰ด์—์„œ ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ ์ฝ˜์†”์„ ๋ณด์ด๊ฒŒ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๊ตฌ๊ธ€ ํฌ๋กฌ๋ณด๋‹ค ์ข€ ๋” ๋งŽ์€ ๊ธฐ๋Šฅ๊ณผ ์ •๋ณด๋ฅผ ์ œ๊ณตํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. [Menu] Web Developer > Web Console <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (ํŠธ๋žœ์žญ์…˜)|๋กœ๊ทธ|ํŒŒ์ด์–ดํญ์Šค/1.jpg</ImgTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ๋กœ๊ทธ ์ธํ„ฐ๋„ท ์ต์Šคํ”Œ๋กœ๋Ÿฌ ### Assistant: ์•„๋ž˜ ๋ฉ”๋‰ด์—์„œ ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ ์ฝ˜์†”์„ ๋ณด์ด๊ฒŒ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ธํ„ฐ๋„ท ์ต์Šคํ”Œ๋กœ๋Ÿฌ๋Š” ๋ฉ”๋‰ด๋ฅผ ์‚ฌ์šฉํ•˜์ง€ ์•Š๊ณ  ์„ค์ • ์•„์ด์ฝ˜์„ ํด๋ฆญํ•ด๋„ ๋ฐ”๋กœ developer tools ํ•ญ๋ชฉ์œผ๋กœ ์ ‘๊ทผํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. [Menu] Tools > developer tools > Console <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (ํŠธ๋žœ์žญ์…˜)|๋กœ๊ทธ|์ธํ„ฐ๋„ท ์ต์Šคํ”Œ๋กœ๋Ÿฌ/1.jpg</ImgTag> <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (ํŠธ๋žœ์žญ์…˜)|๋กœ๊ทธ|์ธํ„ฐ๋„ท ์ต์Šคํ”Œ๋กœ๋Ÿฌ/2.jpg</ImgTag> ํŒ: ๋งˆ์ดํฌ๋กœ์†Œํ”„ํŠธ Edge ๋ธŒ๋ผ์šฐ์ € ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ ์ฝ˜์†” ์„ค์ •์€ ์ธํ„ฐ๋„ท ์ต์Šคํ”Œ๋กœ๋Ÿฌ์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค.</s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (X-API) ### Assistant: ๋…ธํŠธ: ์ด๋ฒˆ ์žฅ์€ ๋กœ์ปฌ ์›น ์„œ๋ฒ„๋กœ ์‹คํ–‰ํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค. ํ†ฐ์บฃ์ด๋‚˜ ๋‹ค๋ฅธ WAS ์„œ๋น„์Šค๋ฅผ ์„ค์ •ํ•ด์ฃผ๊ณ  ํ•ด๋‹น ์„œ๋ฒ„๋ฅผ ์‚ฌ์šฉํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ํ†ฐ์บฃ ์„œ๋ฒ„ ์„ค์ •์— ๊ด€ํ•ด์„œ๋Š” ์•„ํŒŒ์น˜ ํ†ฐ์บฃ(Apache Tomcat) ํ•ญ๋ชฉ์„ ์ฐธ๊ณ ํ•ด์ฃผ์„ธ์š”. ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (ํŠธ๋žœ์žญ์…˜)์—์„œ๋Š” ๋ฏธ๋ฆฌ ์ž‘์„ฑํ•ด ์ €์žฅํ•œ XML ํŒŒ์ผ ๋ฐ์ดํ„ฐ๋ฅผ ๊ฐ€์ ธ์™€ ํ™”๋ฉด์— ๋ณด์—ฌ์ฃผ๋Š” ๊ธฐ๋Šฅ์„ ์„ค๋ช…ํ–ˆ์Šต๋‹ˆ๋‹ค. ํ•˜์ง€๋งŒ ์‹ค์ œ ๋น„์ฆˆ๋‹ˆ์Šค ํ™˜๊ฒฝ์—์„œ๋Š” ๋‹ค์–‘ํ•œ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์—์„œ ๋ฐ์ดํ„ฐ๋ฅผ ์กฐํšŒํ•˜๊ณ  ์ž…๋ ฅํ•œ ๋ฐ์ดํ„ฐ๋ฅผ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์— ์ €์žฅํ•˜๋Š” ๋“ฑ์˜ ๋ณต์žกํ•œ ์—…๋ฌด ์ฒ˜๋ฆฌ๊ฐ€ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค. ๋„ฅ์‚ฌํฌ๋กœ ์•ฑ์€ ํ™”๋ฉด(Form)์—์„œ ์ž…๋ ฅ๋ฐ›์€ ๋ฐ์ดํ„ฐ๋ฅผ ์„œ๋ฒ„๋กœ ์ „์†กํ•˜๊ณ  ๋ฐ์ดํ„ฐ๋ฅผ ๋ฐ›์•„์˜ค๊ธฐ ์œ„ํ•ด transaction() ๋ฉ”์†Œ๋“œ๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. transaction() ๋ฉ”์†Œ๋“œ๋Š” ์ž…๋ ฅ ๋ฐ›์€ ๋ณ€์ˆ˜์™€ ๋ฐ์ดํ„ฐ์…‹์„ XML ํ˜•์‹์œผ๋กœ ๋ณ€ํ˜•ํ•ด ์„œ๋ฒ„์— ์ „๋‹ฌํ•˜๊ณ  ์ฝœ๋ฐฑ ํ•จ์ˆ˜๋ฅผ ํ†ตํ•ด ๋ฐ›์•„์˜จ ๋ฐ์ดํ„ฐ๋ฅผ ์ฒ˜๋ฆฌํ•ฉ๋‹ˆ๋‹ค. ์ด๋Ÿฐ ๊ณผ์ •์—์„œ ํด๋ผ์ด์–ธํŠธ๊ฐ€ ์ „๋‹ฌํ•œ ๋ณ€์ˆ˜์™€ ๋ฐ์ดํ„ฐ์…‹์„ ์ฒ˜๋ฆฌํ•˜๊ณ  ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์— ์žˆ๋Š” ๋ฐ์ดํ„ฐ๋ฅผ ์ฒ˜๋ฆฌํ•˜๊ธฐ ์œ„ํ•ด ์„œ๋ฒ„๋‹จ์—์„œ ๋™์ž‘ํ•˜๋Š” ์„œ๋น„์Šค๊ฐ€ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค. ์„œ๋ฒ„์— ๊ตฌํ˜„ํ•œ ์„œ๋น„์Šค์—์„œ๋Š” ์š”์ฒญ๋ฐ›์€ ๋ฐ์ดํ„ฐ๋ฅผ ๋‹ค์–‘ํ•œ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์—์„œ ๊ฐ€์ ธ์™€ ์ด๋ฅผ ์ ์ ˆํ•œ ํ˜•ํƒœ๋กœ ๊ฐ€๊ณตํ•˜๊ณ  ํด๋ผ์ด์–ธํŠธ์— ์ „๋‹ฌํ•ด์ค๋‹ˆ๋‹ค. ์š”์ฒญ์— ๋ฌธ์ œ๊ฐ€ ์ƒ๊ฒผ์„ ๋•Œ ์–ด๋–ค ๋ฌธ์ œ์ธ์ง€ ํ™•์ธํ•  ์ˆ˜ ์žˆ๋Š” ์—๋Ÿฌ ์ฝ”๋“œ์™€ ๋ฉ”์‹œ์ง€๋ฅผ ๋ฐ˜ํ™˜ํ•ด์ค๋‹ˆ๋‹ค. ์„œ๋น„์Šค๋Š” JSP, Servlet, ASP, PHP ๋“ฑ ์„œ๋ฒ„ ํ™˜๊ฒฝ์— ๋”ฐ๋ผ ๋‹ค์–‘ํ•œ ํ”„๋กœ๊ทธ๋ž˜๋ฐ ์–ธ์–ด๋กœ ์ž‘์„ฑํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ด๋ฒˆ ์žฅ์—์„œ๋Š” ๊ฐ„๋‹จํ•œ JSP ์„œ๋น„์Šค๋ฅผ ๋งŒ๋“ค๊ณ  ์–ด๋–ป๊ฒŒ ๋™์ž‘ํ•˜๋Š”์ง€ ์‚ดํŽด๋ด…๋‹ˆ๋‹ค.</s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ์„œ๋น„์Šค ### Assistant: ํ™”๋ฉด์—์„œ ์ž…๋ ฅ๋ฐ›์€ ๋ฐ์ดํ„ฐ๋ฅผ transaction() ๋ฉ”์†Œ๋“œ๋ฅผ ํ†ตํ•ด ์„œ๋ฒ„์— ์ „๋‹ฌํ•ด ์ฒ˜๋ฆฌํ•˜๊ณ  ์„œ๋ฒ„์— ์ €์žฅ๋œ ๋ฐ์ดํ„ฐ๋ฅผ ๋‹ค์‹œ ์กฐํšŒํ•˜๋Š” ์„œ๋น„์Šค๋ฅผ ๊ตฌํ˜„ํ•ฉ๋‹ˆ๋‹ค. ๋…ธํŠธ: ๊ฐ„๋‹จํ•œ ํ…Œ์ŠคํŠธ๋ฅผ ์œ„ํ•ด ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์— ์—ฐ๊ฒฐํ•˜๋Š” ๋Œ€์‹  ํŒŒ์ผ ํ˜•ํƒœ๋กœ ์„œ๋ฒ„์— ์ €์žฅํ•ฉ๋‹ˆ๋‹ค. ์•„๋ž˜ 3๊ฐ€์ง€ ์„œ๋น„์Šค๋ฅผ ์„ค๋ช…ํ•ฉ๋‹ˆ๋‹ค. initdata.jsp: ์„œ๋ฒ„์— ๊ธฐ๋ณธ ์ž๋ฃŒ๋ฅผ ์ƒ์„ฑํ•˜๊ณ  ํŒŒ์ผ๋กœ ์ €์žฅํ•ฉ๋‹ˆ๋‹ค. search.jsp: ์ €์žฅ๋œ ํŒŒ์ผ์—์„œ ๋ฐ์ดํ„ฐ๋ฅผ ์ฝ์–ด Dataset์„ ๋งŒ๋“ค๊ณ  ํด๋ผ์ด์–ธํŠธ๋กœ ์ „์†กํ•ฉ๋‹ˆ๋‹ค. save_list.jsp: ์„œ๋ฒ„์— ์ „์†กํ•œ ๋ฐ์ดํ„ฐ๋กœ ๊ธฐ์กด ํŒŒ์ผ์„ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค. ํŒ: ํ™•์žฅ์ž JSP๋Š” JavaServer Pages์˜ ์•ฝ์ž๋กœ HTML ์ฝ”๋“œ ์•ˆ์— Java ์ฝ”๋“œ๋ฅผ ์ถ”๊ฐ€ํ•ด ๋™์ ์œผ๋กœ ํ™”๋ฉด์„ ์ƒ์„ฑํ•  ์ˆ˜ ์žˆ๋Š” ์–ธ์–ด๋ฅผ ์˜๋ฏธํ•ฉ๋‹ˆ๋‹ค. ๊ธฐ๋ณธ์ ์ธ ํ™”๋ฉด ๊ตฌ์กฐ๋Š” HTML ์ฝ”๋“œ๋กœ ๊ตฌ์„ฑํ•˜๊ณ  ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์—์„œ ๊ฐ’์„ ๋ฐ›์•„ ์ฒ˜๋ฆฌํ•˜๊ฑฐ๋‚˜ ์—ฐ์‚ฐ์ด ํ•„์š”ํ•œ ๋ถ€๋ถ„๋งŒ Java ์ฝ”๋“œ๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.</s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: X-API ๋ฐฐํฌ ํŒŒ์ผ ### Assistant: ๋„ฅ์‚ฌํฌ๋กœ X-API ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋Š” ๋ฐ์ดํ„ฐ ์ฒ˜๋ฆฌ๋ฅผ ์œ„ํ•œ ์„œ๋น„์Šค ๊ตฌํ˜„ ์‹œ ํ•„์š”ํ•œ ๊ธฐ๋Šฅ์„ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ํ˜•ํƒœ๋กœ ๊ตฌํ˜„ํ•ด ์ œ๊ณตํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ์ œ๊ณตํ•˜๋Š” ํŒŒ์ผ์€ ์•„๋ž˜์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค. nexacro-xapi-java-1.0.0.jar (X-API ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ํŒŒ์ผ) commons-logging-1.1.1.jar (http://commons.apache.org/proper/commons-logging/) NexacroN_server_license.xml (๋ผ์ด์„ ์Šค ํŒŒ์ผ) docs > api (X-API ๋งค๋‰ด์–ผ) ํŒ: ์˜ˆ์ œ์—์„œ๋Š” ๋ฐ์ดํ„ฐ ์ฒ˜๋ฆฌ๋ฅผ ์œ„ํ•ด ๋„ฅ์‚ฌํฌ๋กœ X-API๋ฅผ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. X-API๋Š” ๋ฐ์ดํ„ฐ ์ฒ˜๋ฆฌ๋ฅผ ์œ„ํ•ด ํ•„์š”ํ•œ ๊ธฐ๋Šฅ์„ ๊ตฌํ˜„ํ•œ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ์ผ๋ฟ X-API๋ฅผ ๊ผญ ์‚ฌ์šฉํ•ด์•ผ ํ•˜๋Š” ๊ฒƒ์€ ์•„๋‹™๋‹ˆ๋‹ค. ๋…ธํŠธ: X-API ๋ฐฐํฌ ํŒŒ์ผ์€ ๊ธฐ์ˆ ์ง€์›์‚ฌ์ดํŠธ์—์„œ ๋‚ด๋ ค๋ฐ›์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. http://support.tobesoft.co.kr > PRODUCT > Nexacro N > Download > Server [API, XENI] ๊ฐœ๋ฐœ์šฉ ๋ผ์ด์„ ์Šค ํŒŒ์ผ์€ LICENSE ๋ฉ”๋‰ด ์•„๋ž˜ [๊ฐœ๋ฐœ์šฉ๋ผ์ด์„ ์Šค] ๋งํฌ์—์„œ ์‹ ์ฒญํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (X-API)|X-API|๋ฐฐํฌ ํŒŒ์ผ/1.jpg</ImgTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: X-API ์„ค์น˜ ### Assistant: ํ†ฐ์บฃ์„ ์„ค์น˜ํ•˜๊ณ  X-API ์˜ˆ์ œ์—์„œ ์‚ฌ์šฉํ•  ์ปจํ…์ŠคํŠธ ํŒŒ์ผ์„ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค. ํ†ฐ์บฃ ์„ค์น˜์™€ ์ปจํ…์ŠคํŠธ ํŒŒ์ผ์„ ์ƒ์„ฑํ•˜๋Š” ์ž์„ธํ•œ ๋ฐฉ๋ฒ•์€ ์•„ํŒŒ์น˜ ํ†ฐ์บฃ(Apache Tomcat) ํ•ญ๋ชฉ์„ ์ฐธ๊ณ ํ•˜์„ธ์š”. ๋‹จ๊ณ„ 1. ์ปจํ…์ŠคํŠธ ํŒŒ์ผ์„ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค. ์•„๋ž˜ ๊ฒฝ๋กœ์— CustomerList.xml ํŒŒ์ผ์„ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค. C:\Program Files\Apache Software Foundation\Tomcat 8.5\conf\Catalina\localhost <CodeTag> ์ฝ”๋“œ 6- CustomerList.xml<Context path='/CustomerList' docBase='E:\88_TEST\02_BUILD\CustomerList' debug='0' prvileged='true' reloadable='true'> <Logger className='org.apache.catalina.logger.FileLogger' directory='logs' prefix='localhost_log.' suffix='.txt' timestame='true'/></Context> </CodeTag> ๋‹จ๊ณ„ 2. ๋‚ด๋ ค๋ฐ›์€ X-API ํŒŒ์ผ์˜ ์••์ถ•์„ ํ•ด์ œํ•ฉ๋‹ˆ๋‹ค. ์••์ถ•์„ ํ•ด์ œํ•˜๋ฉด docs, lib ํด๋” 2๊ฐœ๊ฐ€ ๋ณด์ด๋Š”๋ฐ ๊ทธ์ค‘์—์„œ lib ํด๋” ์•ˆ์— ์žˆ๋Š” 3๊ฐœ์˜ jar ํŒŒ์ผ์„ ์‚ฌ์šฉํ•  ๊ฒ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (X-API)|X-API|์„ค์น˜/1.jpg</ImgTag> ๋‹จ๊ณ„ 3. docBase๋กœ ์ง€์ •ํ•œ ํด๋”๋ฅผ ์ƒ์„ฑํ•˜๊ณ  ํ•ด๋‹น ํด๋” ์•ˆ์— WEB-INF ํด๋”๋ฅผ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค. ๊ทธ๋ฆฌ๊ณ  WEB-INF ํด๋” ์•ˆ์— lib ํด๋”๋ฅผ ์ƒ์„ฑํ•˜๊ณ  jar ํŒŒ์ผ๊ณผ ๋ผ์ด์„ ์Šค ํŒŒ์ผ์„ ๋ณต์‚ฌํ•ฉ๋‹ˆ๋‹ค. E:\88_TEST\02_BUILD\CustomerList\WEB-INF\lib <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (X-API)|X-API|์„ค์น˜/2.jpg</ImgTag> ๋‹จ๊ณ„ 4. docBase๋กœ ์ง€์ •ํ•œ ํด๋” ์•„๋ž˜์— ํ…Œ์ŠคํŠธ๋ฅผ ์œ„ํ•œ jsp ํŒŒ์ผ์„ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค. E:\88_TEST\02_BUILD\CustomerList <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (X-API)|X-API|์„ค์น˜/3.jpg</ImgTag> <CodeTag> ์ฝ”๋“œ 6- test.jsp<%@ page contentType='text/html; charset=UTF-8' %><html> <head> <title>JarInfo</title> <style> * { font-family: Verdana } </style> </head> <body> <pre><% new com.nexacro.java.xapi.util.JarInfo().info(out);%> </pre> </body></html> </CodeTag> ๋‹จ๊ณ„ 5. ์›น๋ธŒ๋ผ์šฐ์ €์—์„œ ์•„๋ž˜ ์ฃผ์†Œ๋กœ ์ ‘๊ทผํ–ˆ์„ ๋•Œ ์„ค์น˜ ์ •๋ณด๊ฐ€ ์ •์ƒ์ ์œผ๋กœ ํ‘œ์‹œ๋˜๋Š”์ง€ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค. ์„ค์น˜์ •๋ณด๊ฐ€ ํ‘œ์‹œ๋œ๋‹ค๋ฉด ์ •์ƒ์ ์œผ๋กœ X-API๊ฐ€ ์„ค์น˜๋œ ๊ฒ๋‹ˆ๋‹ค. http://localhost:8080/CustomerList/test.jsp ํŒ: WEB-INF๋Š” Web Information์˜ ์•ฝ์ž์ž…๋‹ˆ๋‹ค. ์ปจํ…์ŠคํŠธ ๋ฃจํŠธ ๋””๋ ‰ํ† ๋ฆฌ ๋‚ด์— ์žˆ์ง€๋งŒ ์‚ฌ์šฉ์ž๊ฐ€ ์ ‘๊ทผํ•  ์ˆ˜ ์—†์œผ๋ฉฐ ๋‚ด๋ถ€์ ์œผ๋กœ ์ฐธ์กฐํ•˜๊ธฐ ์œ„ํ•œ ์ •๋ณด๋ฅผ ๋‹ด๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. lib ๋””๋ ‰ํ† ๋ฆฌ๋Š” jar ํŒŒ์ผ์„ ๋„ฃ์–ด ๋‘˜ ์ˆ˜ ์žˆ๋Š” ๊ณต๊ฐ„์ž…๋‹ˆ๋‹ค. jar๋Š” Java Archive์˜ ์•ฝ์ž๋กœ ์—ฌ๋Ÿฌ๊ฐœ์˜ ์ž๋ฐ” ํด๋ž˜์Šค ํŒŒ์ผ๊ณผ ๋ฆฌ์†Œ์Šค ๋“ฑ์„ ํ•˜๋‚˜์˜ ํŒŒ์ผ๋กœ ๋ฌถ์–ด์„œ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ์ฒ˜๋Ÿผ ๊ด€๋ฆฌํ•˜๋Š” ํŒŒ์ผ์ž…๋‹ˆ๋‹ค. ๋…ธํŠธ: ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ๋ณต์‚ฌํ•  ์œ„์น˜๋Š” ์‚ฌ์šฉํ•˜๊ณ  ์žˆ๋Š” WAS ์„ค์ •์— ๋”ฐ๋ผ ๋‹ฌ๋ผ์งˆ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋…ธํŠธ: ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ํŒŒ์ผ์„ ๋ณต์‚ฌํ•œ ํ›„์—๋Š” WAS ์„œ๋น„์Šค๋ฅผ ์žฌ์‹œ์ž‘ํ•ด์ฃผ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. WAS ์„ค์ •์— ๋”ฐ๋ผ ์žฌ์‹œ์ž‘์ด ํ•„์š”์—†๋Š” ๊ฒฝ์šฐ๋„ ์žˆ์Šต๋‹ˆ๋‹ค. ๋…ธํŠธ: ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ํŒŒ์ผ๊ณผ ๋ผ์ด์„ ์Šค ํŒŒ์ผ์€ ๊ฐ™์€ ์œ„์น˜์— ๋ณต์‚ฌํ•ด์•ผ ์ธ์‹ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.</s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: X-API ์ „์šฉ๊ฐ์ฒด ### Assistant: ์—ฐ๊ฒฐ๋œ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ์—์„œ ์‚ฌ์šฉ๋˜๋Š” ์ „์šฉ๊ฐ์ฒด๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค. PlatformData : ๋ฐ์ดํ„ฐ๋ฅผ ๋ณด๊ด€ํ•˜๋Š” ๊ธฐ๋ณธ๊ฐ์ฒด PlatformRequest : JSP ์š”์ฒญ ์‹œ์— XML Format Data๋ฅผ ์ฝ๊ณ  ๊ฐ์ฒดํ™”ํ•˜๋Š” Input ๊ฐ์ฒด PlatformResponse : JSP ์š”์ฒญ ์‹œ์— XML Format Data๋ฅผ ์ถœ๋ ฅํ•˜๋Š” output ๊ฐ์ฒด DatasetList & Dataset : ๋ฐ์ดํ„ฐ๋ฅผ 2์ฐจ์› Table ํ˜•ํƒœ ๋˜๋Š” Table Array ํƒ€์ž…์œผ๋กœ ๋ณด๊ด€ VariableList & Variable : I/O ์ธ์ž๊ฐ’์œผ๋กœ ์‚ฌ์šฉ๋˜๋Š” ๋‹จ์ผ ๊ฐ’์„ ๋ณด๊ด€ ์ž์„ธํ•œ ์„ค๋ช…์€ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ์— ํฌํ•จ๋œ X-API ๋งค๋‰ด์–ผ์„ ์ฐธ๊ณ ํ•ด์ฃผ์„ธ์š”.</s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ํ™”๋ฉด์— Button ์ปดํฌ๋„ŒํŠธ ์ถ”๊ฐ€ ### Assistant: ๊ธฐ์กด ํ™”๋ฉด์— ๋ฐ์ดํ„ฐ ์ดˆ๊ธฐํ™”, ์ €์žฅ์„ ์œ„ํ•œ Button ์ปดํฌ๋„ŒํŠธ๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (X-API)|ํ™”๋ฉด์— Button ์ปดํฌ๋„ŒํŠธ ์ถ”๊ฐ€/1.jpg</ImgTag> <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (X-API)|ํ™”๋ฉด์— Button ์ปดํฌ๋„ŒํŠธ ์ถ”๊ฐ€/1.png</ImgTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: initdata.jsp ### Assistant: ๊ธฐ๋ณธ ์ž๋ฃŒ๋ฅผ ์ƒ์„ฑํ•˜๊ณ  ์„œ๋ฒ„์— ํŒŒ์ผ๋กœ ์ €์žฅํ•ฉ๋‹ˆ๋‹ค.</s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: initdata.jsp pseudo code ### Assistant: <CodeTag> // 1. ์ž๋ฐ” ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์ง€์ • (Nexacro X-API ํฌํ•จ)// 2. MIME Type ์ •์˜// 3. Nexacro ๊ธฐ๋ณธ๊ฐ์ฒด(PlatformData) ์ƒ์„ฑtry { // 4. Data ์ฒ˜๋ฆฌ // 5. ErrorCode, ErrorMsg ์ฒ˜๋ฆฌํ•˜๊ธฐ (์„ฑ๊ณต ๋ฉ”์‹œ์ง€)} catch (Error) { // 5. ErrorCode, ErrorMsg ์ฒ˜๋ฆฌํ•˜๊ธฐ (์‹คํŒจ ๋ฉ”์‹œ์ง€)}// 6. ๊ฒฐ๊ณผ Data Client์—๊ฒŒ ๋ณด๋‚ด๊ธฐ </CodeTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ์ฝ”๋“œ ๊ตฌํ˜„ ์ž๋ฐ” ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์ง€์ • ### Assistant: JSP ์„œ๋น„์Šค๋ฅผ ์ž‘์„ฑํ•˜๊ธฐ ์œ„ํ•ด ๊ธฐ๋ณธ ์ž๋ฐ” ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ์ง€์ •ํ•ฉ๋‹ˆ๋‹ค. ์ฝ”๋“œ๋Š” ์•„๋ž˜์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค. <CodeTag> <!-- 1. Designating a Java library --><%@ page import='java.io.*' %><%@ page import='com.nexacro.java.xapi.data.*' %><%@ page import='com.nexacro.java.xapi.tx.*' %> </CodeTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ์ฝ”๋“œ ๊ตฌํ˜„ MIME ํƒ€์ž… ์ •์˜ ### Assistant: XML ์ƒ์„ฑ์„ ์œ„ํ•œ MIME(Multipurpose Internet Mail Extensions) ํƒ€์ž…์„ ์ •์˜ํ•ฉ๋‹ˆ๋‹ค. <CodeTag> <!-- 2. Defining a MIME type --><%@ page contentType='text/xml; charset=UTF-8' %> </CodeTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ์ฝ”๋“œ ๊ตฌํ˜„ ๊ธฐ๋ณธ๊ฐ์ฒด(PlatformData) ์ƒ์„ฑํ•˜๊ธฐ ### Assistant: ๋ฐ์ดํ„ฐ๋ฅผ ์ฒ˜๋ฆฌํ•˜๊ธฐ ์œ„ํ•œ ๊ธฐ๋ณธ๊ฐ์ฒด๋ฅผ ์„ ์–ธํ•ฉ๋‹ˆ๋‹ค. ๊ธฐ๋ณธ ๊ฐ์ฒด์ธ PlatformData๋Š” ๋„ฅ์‚ฌํฌ๋กœ ์•ฑ์—์„œ ์‚ฌ์šฉํ•˜๋Š” ๋ชจ๋“  ๋ฐ์ดํ„ฐ(Dataset, ๋ณ€์ˆ˜)๋ฅผ ํ•œ๊บผ๋ฒˆ์— ๋‹ด์„ ์ˆ˜ ์žˆ๋Š” ๊ฐ์ฒด์ž…๋‹ˆ๋‹ค. PlatformData๋ฅผ ์„ ์–ธํ•˜๋Š” ์ฝ”๋“œ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค. <CodeTag> /** 3. Creating a basic object of Nexacro **/PlatformData pdata = new PlatformData(); </CodeTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ์ฝ”๋“œ ๊ตฌํ˜„ Dataset์„ ์ƒ์„ฑํ•˜์—ฌ File๋กœ ์ €์žฅํ•˜๊ธฐ ### Assistant: Dataset์„ ์ƒ์„ฑํ•˜์—ฌ column ์ •๋ณด๋ฅผ ์ž…๋ ฅํ•˜๊ณ  2๊ฐœ์˜ row๋ฅผ ์ƒ์„ฑํ•œ ํ›„ row๋งˆ๋‹ค column์„ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค. ์ƒ์„ฑํ•œ DataSet์€ ์‰ฝ๊ฒŒ ๋‹ค๋ฃฐ ์ˆ˜ ์žˆ๋„๋ก PlatformData์— ๋“ฑ๋กํ•ฉ๋‹ˆ๋‹ค. ๋“ฑ๋ก๋œ PlatformData ๊ฐ์ฒด๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ './saveFile.bin'์ด๋ผ๋Š” ์ด๋ฆ„์˜ ํŒŒ์ผ๋กœ ์ €์žฅํ•ฉ๋‹ˆ๋‹ค. Dataset์„ ์ƒ์„ฑํ•˜๊ณ  ํŒŒ์ผ๋กœ ์ €์žฅํ•˜๋Š” ์ฝ”๋“œ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค. <CodeTag> /** 4. Processing data: saving data as a file **//** 4.1 Creating a dataset and inputting basic data to the dataset **/DataSet ds = new DataSet('customers');ds.addColumn('id',DataTypes.STRING, 4);ds.addColumn('name',DataTypes.STRING, 16);...int row = 0;int i = 0;String[] customers = new String[8];customers[0] = 'TC-001';customers[1] = 'Tzuyu';...for (i = 0; i < 2; i++){ row = ds.newRow(); ds.set(row,'id',customers[0]); ds.set(row,'name',customers[1]); ...}pdata.addDataSet(ds);/** 4.2 Saving a dataset to a file **/String targetFilename = './saveFile.bin';OutputStream target = new FileOutputStream(targetFilename);PlatformResponse res = new PlatformResponse(target, PlatformType.CONTENT_TYPE_BINARY);res.setData(pdata);res.sendData();target.close(); </CodeTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ์ฝ”๋“œ ๊ตฌํ˜„ ErrorCode ErrorMsg ์ฒ˜๋ฆฌํ•˜๊ธฐ ### Assistant: ์˜ˆ์™ธ ์ƒํ™ฉ์ด ๋ฐœ์ƒํ–ˆ์„ ๋•Œ ์ด๋ฅผ ์ฒ˜๋ฆฌํ•˜๊ธฐ ์œ„ํ•œ ๋ถ€๋ถ„์ž…๋‹ˆ๋‹ค. <CodeTag> /** 5.1 Processing ErrorCode and ErrorMsg **/int nErrorCode = 0;String strErrorMsg = 'START';try { /** 5.2 Setting ErrorCode and ErrorMsg for success **/ nErrorCode = 0; strErrorMsg = 'SUCC';} catch (Throwable th) { /** 5.3 Setting ErrorCode and ErrorMsg for failure **/ nErrorCode = -1; strErrorMsg = th.getMessage();}/** 5.4 Saving ErrorCode and ErrorMsg to send them to the client **/PlatformData senddata = new PlatformData();VariableList varList = senddata.getVariableList();varList.add('ErrorCode', nErrorCode);varList.add('ErrorMsg', strErrorMsg); </CodeTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ์ฝ”๋“œ ๊ตฌํ˜„ ๊ฒฐ๊ณผ๊ฐ’ Client์—๊ฒŒ ๋ณด๋‚ด๊ธฐ ### Assistant: ์ดˆ๊ธฐ๊ฐ’์ด ์ •์ƒ์ ์œผ๋กœ ํŒŒ์ผ์— ์ €์žฅ๋˜์—ˆ๋Š”์ง€๋ฅผ ์‚ฌ์šฉ์ž์—๊ฒŒ ์ „๋‹ฌํ•˜๊ธฐ ์œ„ํ•˜์—ฌ PlatformData ๊ฐ์ฒด๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. ์ด๋•Œ, ์•ž์—์„œ ์ €์žฅํ•œ ErrorCode์™€ ErrorMsg๊ฐ€ ์ „๋‹ฌ๋ฉ๋‹ˆ๋‹ค. VariableList๋Š” PlatformData์˜ ๋ฉค๋ฒ„์ด๋ฏ€๋กœ ์ˆ˜ํ–‰ ๊ฒฐ๊ณผ๊ฐ’์€ PlatformData ๊ฐ์ฒด์— ๋“ค์–ด์žˆ์Šต๋‹ˆ๋‹ค. ์ด์ œ PlatformData์˜ ๋ฐ์ดํ„ฐ๋ฅผ ๋„ฅ์‚ฌํฌ๋กœ์—์„œ ์ฒ˜๋ฆฌํ•  ์ˆ˜ ์žˆ๋Š” XML Format์œผ๋กœ ์ถ”์ถœํ•˜์—ฌ ์ „์†กํ•˜๋Š” ๋ถ€๋ถ„์„ ๊ตฌํ˜„ํ•ด ๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค. ๋ฐ์ดํ„ฐ๋ฅผ ์ „์†กํ•˜๋Š” ๊ธฐ๋Šฅ์„ ์‰ฝ๊ฒŒ ๊ตฌํ˜„ํ•˜๊ธฐ ์œ„ํ•ด PlatformResponse ๊ฐ์ฒด๋ฅผ ๋งŒ๋“ค๊ณ  PlatformData ๊ฐ์ฒด์—์„œ ๋ฐ์ดํ„ฐ๋ฅผ ์ถœ๋ ฅ์‹œํ‚ค๋Š” ์ฝ”๋“œ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค. <CodeTag> /** 6. Sending result data to the client **/HttpPlatformResponse res = new HttpPlatformResponse(response, PlatformType.CONTENT_TYPE_XML,'UTF-8');res.setData(senddata);res.sendData(); </CodeTag> ์ •์ƒ์ ์œผ๋กœ ๋ฐ์ดํ„ฐ๊ฐ€ ์ฒ˜๋ฆฌ๋˜์—ˆ๋‹ค๋ฉด ํด๋ผ์ด์–ธํŠธ์—๊ฒŒ ์ „๋‹ฌ๋˜๋Š” XML ๊ฐ’์€ ์•„๋ž˜์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค. <CodeTag> <Root xmlns='http://www.nexacro.com/platform/dataset' ver='5000'> <Parameters> <Parameter id='ErrorCode' type='int'>0</Parameter> <Parameter id='ErrorMsg' type='string'>SUCC</Parameter> </Parameters></Root> </CodeTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: initdata.jsp ์ „์ฒด ์ฝ”๋“œ ### Assistant: <CodeTag> ์ฝ”๋“œ 6- initdata.jsp<!-- 1.Designating a Java library --><%@ page import='java.io.*' %><%@ page import='com.nexacro.java.xapi.data.*' %><%@ page import='com.nexacro.java.xapi.tx.*' %><!-- 2. Defining a MIME type --><%@ page contentType='text/xml; charset=UTF-8' %><%/** 3. Creating a basic object of Nexacro **/PlatformData pdata = new PlatformData();/** 5-1. Processing ErrorCode and ErrorMsg **/int nErrorCode = 0;String strErrorMsg = 'START';try { /** 4. Processing data: saving data as a file **/ /** 4.1 Creating a dataset and inputting basic data to the dataset **/ DataSet ds = new DataSet('customers'); ds.addColumn('id',DataTypes.STRING, 4); ds.addColumn('name',DataTypes.STRING, 16); ds.addColumn('email', DataTypes.STRING, 32); ds.addColumn('phone', DataTypes.STRING, 16); ds.addColumn('comp_name', DataTypes.STRING, 32); ds.addColumn('department', DataTypes.STRING, 32); ds.addColumn('comp_phone', DataTypes.STRING, 16); ds.addColumn('comp_addr', DataTypes.STRING, 256); int row = 0; int i = 0; String[] customers = new String[8]; customers[0] = 'TC-001'; customers[1] = 'Tzuyu'; customers[2] = 'ceo@twice.com'; customers[3] = '6987-6543'; customers[4] = 'TWICE'; customers[5] = '0'; customers[6] = '6506-7000'; customers[7] = 'Seoul'; for (i = 0; i < 1; i++) { row = ds.newRow(); ds.set(row,'id',customers[0]); ds.set(row,'name',customers[1]); ds.set(row,'email',customers[2]); ds.set(row,'phone',customers[3]); ds.set(row,'comp_name',customers[4]); ds.set(row,'department',customers[5]); ds.set(row,'comp_phone',customers[6]); ds.set(row,'comp_addr',customers[7]); } pdata.addDataSet(ds); /** 4.2 Saving a dataset to a file **/ String targetFilename = './saveFile.bin'; OutputStream target = new FileOutputStream(targetFilename); PlatformResponse res = new PlatformResponse(target, PlatformType.CONTENT_TYPE_BINARY); res.setData(pdata); res.sendData(); target.close(); System.out.println('after file write..'); /** 5.2 Setting ErrorCode and ErrorMsg for success**/ nErrorCode = 0; strErrorMsg = 'SUCC';} catch (Throwable th) { /** 5.3 Setting ErrorCode and ErrorMsg for failure **/ nErrorCode = -1; strErrorMsg = th.getMessage();}/** 5.4 Saving the ErrorCode and ErrorMsg to send them to the client **/PlatformData senddata = new PlatformData();VariableList varList = senddata.getVariableList();varList.add('ErrorCode', nErrorCode);varList.add('ErrorMsg', strErrorMsg);/** 6. Sending result data to the client **/HttpPlatformResponse res = new HttpPlatformResponse(response, PlatformType.CONTENT_TYPE_XML,'UTF-8');res.setData(senddata);res.sendData();%> </CodeTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: initdata.jsp ๋ฐ์ดํ„ฐ ์ดˆ๊ธฐํ™” ์ด๋ฒคํŠธ ### Assistant: ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (ํŠธ๋žœ์žญ์…˜)์—์„œ ๋งŒ๋“  ํ™”๋ฉด์— ๋ฒ„ํŠผ ์ปดํฌ๋„ŒํŠธ๋ฅผ ์ถ”๊ฐ€ํ•˜๊ณ  ์•„๋ž˜์™€ ๊ฐ™์ด onclick ์ด๋ฒคํŠธ๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. ํ™”๋ฉด ๋‚ด ๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜๋ฉด initdata.jsp ์„œ๋น„์Šค๊ฐ€ ํ˜ธ์ถœ๋˜๋ฉด์„œ ์„œ๋ฒ„์— ๋ฐ์ดํ„ฐ์…‹์ด ๋‹ด๊ธด ํŒŒ์ผ์„ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค. <CodeTag> this.divCommand_btnInitdata_onclick = function(obj:nexacro.Button, e:nexacro.ClickEventInfo){ var id = 'initdata'; var url = 'SvcList::initdata.jsp'; var reqDs = ''; var respDs = ''; var args = ''; var callback = 'initdata_received'; this.transaction(id, url, reqDs, respDs, args, callback); }this.initdata_received = function(id, code, message){ if (code == 0) { this.alert(message); trace(message); } else { this.alert('Error['+code+']:'+message); trace('Error['+code+']:'+message); }} </CodeTag> url ์†์„ฑ์€ ์ „์ฒด URL์„ ์ง€์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋งค๋ฒˆ ์ „์ฒด URL์„ ์ง€์ •ํ•˜๋Š” ๊ฒƒ์ด ๋ฒˆ๊ฑฐ๋กญ๊ณ  ์ž์ฃผ ์‚ฌ์šฉํ•˜๋Š” ๋„๋ฉ”์ธ์ด๋ผ๋ฉด TypeDefinition์— ์„œ๋น„์Šค URL์„ ์ถ”๊ฐ€ํ•˜๊ณ  ๋ณ€๊ฒฝ๋˜๋Š” ํŒŒ์ผ๋ช…๋งŒ ์ง€์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ง€์ •๋œ ์„œ๋น„์Šค๋Š” ์•„๋ž˜์™€ ๊ฐ™์ด ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. var url = '[Service ID]::[file name]'; <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (X-API)|initdata.jsp|๋ฐ์ดํ„ฐ ์ดˆ๊ธฐํ™” ์ด๋ฒคํŠธ/1.jpg</ImgTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: initdata.jsp ์ €์žฅ๋œ ํŒŒ์ผ ### Assistant: ๋ฒ„ํŠผ์„ ํด๋ฆญํ•ด initdata.jsp ํŒŒ์ผ์„ ํ˜ธ์ถœํ•˜๋ฉด 'saveFile.bin'์ด๋ผ๋Š” ์ด๋ฆ„์˜ ํŒŒ์ผ์ด ์ƒ์„ฑ๋ฉ๋‹ˆ๋‹ค. ์ƒ์„ฑ๋œ ํŒŒ์ผ์€ WAS(์˜ˆ์ œ์—์„œ๋Š” ์•„ํŒŒ์น˜ ํ†ฐ์บฃ)์„ ์„ค์น˜ํ•œ ํด๋” ์•„๋ž˜์— ์ƒ์„ฑ๋ฉ๋‹ˆ๋‹ค. ํŒ: ํŠน์ • ๊ฒฝ๋กœ์— ํŒŒ์ผ์„ ์ €์žฅํ•˜๊ณ ์ž ํ•˜๋Š” ๊ฒฝ์šฐ์—๋Š” ์•„๋ž˜์™€ ๊ฐ™์ด initdata.jsp ํŒŒ์ผ์„ ์ˆ˜์ •ํ•ด ์ ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. <CodeTag> //String targetFilename = './saveFile.bin';File targetFile = new File('c:/saveFile.bin');OutputStream target = new FileOutputStream(targetFile); </CodeTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: search.jsp ### Assistant: ์ €์žฅ๋œ ํŒŒ์ผ์—์„œ ๋ฐ์ดํ„ฐ๋ฅผ ์ฝ์–ด Dataset์„ ๋งŒ๋“ค๊ณ  ํด๋ผ์ด์–ธํŠธ๋กœ ์ „์†กํ•ฉ๋‹ˆ๋‹ค.</s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: search.jsp pseudo code ### Assistant: <CodeTag> // 1. ์ž๋ฐ” ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์ง€์ • (Nexacro X-API ํฌํ•จ)// 2. MIME Type ์ •์˜// 3. Nexacro ๊ธฐ๋ณธ๊ฐ์ฒด(PlatformData) ์ƒ์„ฑtry { // 4. Data ์ฒ˜๋ฆฌ // 5. ErrorCode, ErrorMsg ์ฒ˜๋ฆฌํ•˜๊ธฐ (์„ฑ๊ณต ๋ฉ”์‹œ์ง€)} catch (Error) { // 5. ErrorCode, ErrorMsg ์ฒ˜๋ฆฌํ•˜๊ธฐ (์‹คํŒจ ๋ฉ”์‹œ์ง€)}// 6. ๊ฒฐ๊ณผ Data Client์—๊ฒŒ ๋ณด๋‚ด๊ธฐ </CodeTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ์ฝ”๋“œ ๊ตฌํ˜„ ์ž๋ฐ” ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์ง€์ • ### Assistant: JSP ์„œ๋น„์Šค๋ฅผ ์ž‘์„ฑํ•˜๊ธฐ ์œ„ํ•ด ๊ธฐ๋ณธ ์ž๋ฐ” ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ์ง€์ •ํ•ฉ๋‹ˆ๋‹ค. ์ฝ”๋“œ๋Š” ์•„๋ž˜์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค. <CodeTag> <!-- 1. Designating a Java library --><%@ page import='java.io.*' %><%@ page import='com.nexacro.java.xapi.data.*' %><%@ page import='com.nexacro.java.xapi.tx.*' %> </CodeTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ์ฝ”๋“œ ๊ตฌํ˜„ MIME ํƒ€์ž… ์ •์˜ ### Assistant: XML ์ƒ์„ฑ์„ ์œ„ํ•œ MIME(Multipurpose Internet Mail Extensions) ํƒ€์ž…์„ ์ •์˜ํ•ฉ๋‹ˆ๋‹ค. <CodeTag> <!-- 2. Defining a MIME type --><%@ page contentType='text/xml; charset=UTF-8' %> </CodeTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ์ฝ”๋“œ ๊ตฌํ˜„ ๊ธฐ๋ณธ๊ฐ์ฒด(PlatformData) ์ƒ์„ฑํ•˜๊ธฐ ### Assistant: ๋ฐ์ดํ„ฐ๋ฅผ ์ฒ˜๋ฆฌํ•˜๊ธฐ ์œ„ํ•œ ๊ธฐ๋ณธ๊ฐ์ฒด๋ฅผ ์„ ์–ธํ•ฉ๋‹ˆ๋‹ค. ๊ธฐ๋ณธ ๊ฐ์ฒด์ธ PlatformData๋Š” ๋„ฅ์‚ฌํฌ๋กœ ์•ฑ์—์„œ ์‚ฌ์šฉํ•˜๋Š” ๋ชจ๋“  ๋ฐ์ดํ„ฐ(Dataset, ๋ณ€์ˆ˜)๋ฅผ ํ•œ๊บผ๋ฒˆ์— ๋‹ด์„ ์ˆ˜ ์žˆ๋Š” ๊ฐ์ฒด์ž…๋‹ˆ๋‹ค. PlatformData๋ฅผ ์„ ์–ธํ•˜๋Š” ์ฝ”๋“œ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค. <CodeTag> /** 3. Creating a basic object of Nexacro **/PlatformData pdata = new PlatformData(); </CodeTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ์ฝ”๋“œ ๊ตฌํ˜„ File์˜ ๋‚ด์šฉ์„ ์ฝ์–ด์„œ Dataset ์ƒ์„ฑํ•˜๊ธฐ ### Assistant: './saveFile.bin' ํŒŒ์ผ์˜ ๋‚ด์šฉ์„ ์ฝ์–ด์„œ PlatformData ๊ฐ์ฒด์— ์ €์žฅํ•ฉ๋‹ˆ๋‹ค. PlatformData ๊ฐ์ฒด์— Dataset์ด ๋‹ด๊ฒจ ์žˆ์Šต๋‹ˆ๋‹ค. ํŒŒ์ผ์—์„œ ๋‚ด์šฉ์„ ์ฝ์–ด์„œ PlatformData์— ๋‹ด๋Š” ์ฝ”๋“œ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค. <CodeTag> /** 4. Processing data: Loading data from the file: loading data from the file **//** 4.1 Loading data from the file **/String sourceFilename = './saveFile.bin';InputStream source = new FileInputStream(sourceFilename);PlatformRequest req = new PlatformRequest(source, PlatformType.CONTENT_TYPE_BINARY);req.receiveData();source.close();/** 4.2 Copying the loaded data to the dataset **/pdata = req.getData(); </CodeTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ์ฝ”๋“œ ๊ตฌํ˜„ ErrorCode ErrorMsg ์ฒ˜๋ฆฌํ•˜๊ธฐ ### Assistant: ์˜ˆ์™ธ ์ƒํ™ฉ์ด ๋ฐœ์ƒํ–ˆ์„ ๋•Œ ์ด๋ฅผ ์ฒ˜๋ฆฌํ•˜๊ธฐ ์œ„ํ•œ ๋ถ€๋ถ„์ž…๋‹ˆ๋‹ค. <CodeTag> /** 5.1 Processing ErrorCode and ErrorMsg **/int nErrorCode = 0;String strErrorMsg = 'START';try { /** 5.2 Setting ErrorCode and ErrorMsg for success**/ nErrorCode = 0; strErrorMsg = 'SUCC';} catch (Throwable th) { /** 5.3 Setting ErrorCode and ErrorMsg for failure **/ nErrorCode = -1; strErrorMsg = th.getMessage();}/** 5.4 Saving ErrorCode and ErrorMsg to send them to the client **/PlatformData pdata = new PlatformData();VariableList varList = pdata.getVariableList();varList.add('ErrorCode', nErrorCode);varList.add('ErrorMsg', strErrorMsg); </CodeTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ์ฝ”๋“œ ๊ตฌํ˜„ ๊ฒฐ๊ณผ๊ฐ’ Client์—๊ฒŒ ๋ณด๋‚ด๊ธฐ ### Assistant: ์ดˆ๊ธฐ๊ฐ’์ด ์ •์ƒ์ ์œผ๋กœ ํŒŒ์ผ์— ์ €์žฅ๋˜์—ˆ๋Š”์ง€๋ฅผ ์‚ฌ์šฉ์ž์—๊ฒŒ ์ „๋‹ฌํ•˜๊ธฐ ์œ„ํ•˜์—ฌ PlatformData ๊ฐ์ฒด๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. ์ด๋•Œ, ์•ž์—์„œ ์ €์žฅํ•œ ErrorCode์™€ ErrorMsg๊ฐ€ ์ „๋‹ฌ๋ฉ๋‹ˆ๋‹ค. initdata.jsp์—์„œ PlatformData ๊ฐ์ฒด๋Š” ErrorCode์™€ ErrorMsg๋งŒ์„ ๋‹ด๊ณ  ์žˆ์ง€๋งŒ, search.jsp์—์„œ๋Š” PlatformData์— Client๊ฐ€ ์‚ฌ์šฉํ•˜๋Š” ๋ช…ํ•จ๋ฆฌ์ŠคํŠธ Dataset์„ ๋‹ด๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. VariableList๋Š” PlatformData์˜ ๋ฉค๋ฒ„์ด๋ฏ€๋กœ ์ˆ˜ํ–‰ ๊ฒฐ๊ณผ๊ฐ’์€ PlatformData ๊ฐ์ฒด์— ๋“ค์–ด์žˆ์Šต๋‹ˆ๋‹ค. ์ด์ œ PlatformData์˜ ๋ฐ์ดํ„ฐ๋ฅผ ๋„ฅ์‚ฌํฌ๋กœ์—์„œ ์ฒ˜๋ฆฌํ•  ์ˆ˜ ์žˆ๋Š” XML Format์œผ๋กœ ์ถ”์ถœํ•˜์—ฌ ์ „์†กํ•˜๋Š” ๋ถ€๋ถ„์„ ๊ตฌํ˜„ํ•ด ๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค. ๋ฐ์ดํ„ฐ๋ฅผ ์ „์†กํ•˜๋Š” ๊ธฐ๋Šฅ์„ ์‰ฝ๊ฒŒ ๊ตฌํ˜„ํ•˜๊ธฐ ์œ„ํ•ด PlatformResponse ๊ฐ์ฒด๋ฅผ ๋งŒ๋“ค๊ณ  PlatformData ๊ฐ์ฒด์—์„œ ๋ฐ์ดํ„ฐ๋ฅผ ์ถœ๋ ฅ์‹œํ‚ค๋Š” ์ฝ”๋“œ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค. <CodeTag> /** 6. Sending result data to the client **/HttpPlatformResponse res = new HttpPlatformResponse(response, PlatformType.CONTENT_TYPE_XML,'UTF-8');res.setData(pdata);res.sendData(); </CodeTag> ์ •์ƒ์ ์œผ๋กœ ๋ฐ์ดํ„ฐ๊ฐ€ ์ฒ˜๋ฆฌ๋˜์—ˆ๋‹ค๋ฉด ํด๋ผ์ด์–ธํŠธ์—๊ฒŒ ์ „๋‹ฌ๋˜๋Š” XML ๊ฐ’์€ ์•„๋ž˜์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค. <CodeTag> <Root xmlns='http://www.nexacro.com/platform/dataset' ver='5000'> <Parameters> <Parameter id='ErrorCode' type='int'>0</Parameter> <Parameter id='ErrorMsg' type='string'>SUCC</Parameter> </Parameters> <Dataset id='customers'> <ColumnInfo> <Column id='id' type='string' size='4'/> <Column id='name' type='string' size='16'/> <Column id='email' type='string' size='32'/> <Column id='phone' type='string' size='16'/> <Column id='comp_name' type='string' size='32'/> <Column id='department' type='string' size='32'/> <Column id='comp_phone' type='string' size='16'/> <Column id='comp_addr' type='string' size='256'/> </ColumnInfo> <Rows> <Row> <Col id='id'>TC-001</Col> <Col id='name'>Tzuyu</Col> <Col id='email'>ceo@twice.com</Col> <Col id='phone'>6987-6543</Col> <Col id='comp_name'>TWICE</Col> <Col id='department'>0</Col> <Col id='comp_phone'>6506-7000</Col> <Col id='comp_addr'>Seoul</Col> </Row> </Rows> </Dataset></Root> </CodeTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: search.jsp ์ „์ฒด ์ฝ”๋“œ ### Assistant: <CodeTag> ์ฝ”๋“œ 6- search.jsp<!-- 1.Designating a Java library --><%@ page import='java.io.*' %><%@ page import='com.nexacro.java.xapi.data.*' %><%@ page import='com.nexacro.java.xapi.tx.*' %><!-- 2. Defining a MIME type --><%@ page contentType='text/xml; charset=UTF-8' %><%/** 3. Creating a basic object of Nexacro **/PlatformData pdata = new PlatformData();/** 5.1 Processing ErrorCode and ErrorMsg **/int nErrorCode = 0;String strErrorMsg = 'START';try { /** 4. Processing data : Loading data from the file: loading data from the file **/ /** 4.1 Loading data from the file **/ String sourceFilename = './saveFile.bin'; InputStream source = new FileInputStream(sourceFilename); PlatformRequest req = new PlatformRequest(source, PlatformType.CONTENT_TYPE_BINARY); req.receiveData(); source.close(); /** 4.2 Copying the loaded data to the dataset **/ pdata = req.getData(); /** 5.2 Setting ErrorCode and ErrorMsg for success **/ nErrorCode = 0; strErrorMsg = 'SUCC';} catch (Throwable th) { /** 5.3 Setting ErrorCode and ErrorMsg for failure **/ nErrorCode = -1; strErrorMsg = th.getMessage();}/** 5.4 Saving ErrorCode and ErrorMsg to send them to the client **/VariableList varList = pdata.getVariableList();varList.add('ErrorCode', nErrorCode);varList.add('ErrorMsg', strErrorMsg);/** 6. Sending result data to the client **/HttpPlatformResponse res = new HttpPlatformResponse(response, PlatformType.CONTENT_TYPE_XML,'UTF-8');res.setData(pdata);res.sendData();%> </CodeTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: search.jsp ๋ฐ์ดํ„ฐ ์กฐํšŒ ์ด๋ฒคํŠธ ### Assistant: ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (ํŠธ๋žœ์žญ์…˜)์—์„œ ๋งŒ๋“  ํ™”๋ฉด์—์„œ ์กฐํšŒ ๋ฒ„ํŠผ์— ์ง€์ •๋œ onclick ์ด๋ฒคํŠธ๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค. ํ™”๋ฉด ๋‚ด ๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜๋ฉด search.jsp ์„œ๋น„์Šค๊ฐ€ ํ˜ธ์ถœ๋˜๋ฉด์„œ ์„œ๋ฒ„์— ์ €์žฅ๋œ ํŒŒ์ผ์„ ์ฝ์–ด ๋ฐ์ดํ„ฐ์…‹์„ ๋ฐ˜ํ™˜ํ•ด์ค๋‹ˆ๋‹ค. ์„œ๋ฒ„์—์„œ ๋ณด๋‚ธ ๋ฐ์ดํ„ฐ์…‹ ์ •๋ณด๋Š” ํ™”๋ฉด ๋‚ด ์ž‘์„ฑ๋œ dsCustomers ๋ฐ์ดํ„ฐ์…‹์— ๋‹ด๊ฒจ ํ•ด๋‹น ๋ฐ์ดํ„ฐ๋ฅผ ๊ทธ๋ฆฌ๋“œ์— ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค. <CodeTag> this.divCommand_btnSearch_onclick = function(obj:nexacro.Button, e:nexacro.ClickEventInfo){ var id = 'search'; var url = 'SvcList::search.jsp'; var reqDs = ''; var respDs = 'dsCustomers=customers'; var args = ''; var callback = 'search_received'; this.transaction(id, url, reqDs, respDs, args, callback); }this.search_received = function(id, code, message){ if (code == 0) { var rowcount = this.dsCustomers.rowcount; this.alert(rowcount + ' numbers of data have been found.'); trace(rowcount + ' numbers of data have been found.'); } else { this.alert('Error['+code+']:'+message); trace('Error['+code+']:'+message); }} </CodeTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: search.jsp ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์—ฐ๊ฒฐ ### Assistant: ์˜ˆ์ œ์—์„œ๋Š” ํŒŒ์ผ๋กœ ์ €์žฅ๋œ ๋ฐ์ดํ„ฐ์…‹์„ ๊ฐ€์ ธ์™€ ๊ทธ๋Œ€๋กœ ํด๋ผ์ด์–ธํŠธ์—๊ฒŒ ์ „๋‹ฌํ•ฉ๋‹ˆ๋‹ค. ํŒŒ์ผ์ด ์•„๋‹Œ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์— ์—ฐ๊ฒฐํ•œ ๊ฒฝ์šฐ์—๋Š” ์•„๋ž˜์™€ ๊ฐ™์ด ์ ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋…ธํŠธ: ์•„๋ž˜ ์˜ˆ์ œ์—์„œ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์„ค์ •์€ ์˜ˆ์‹œ๋ฅผ ์œ„ํ•œ ์ฝ”๋“œ์ž…๋‹ˆ๋‹ค. ์‹ค์ œ ์ฝ”๋“œ์—์„œ๋Š” ์‚ฌ์šฉํ•˜๋Š” ํ™˜๊ฒฝ์— ๋งž๊ฒŒ ์ˆ˜์ •ํ•ด์„œ ์‚ฌ์šฉํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. <CodeTag> ์ฝ”๋“œ 6- search.jsp (JDBC Connect)<%@ page import = 'java.util.*' %><%@ page import = 'java.sql.*' %><%@ page import = 'java.io.*' %><%@ page import='com.nexacro.java.xapi.data.*' %><%@ page import='com.nexacro.java.xapi.tx.*' %><%@ page contentType='text/xml; charset=utf-8' %><%/****** Service API initialization ******/PlatformData pdata = new PlatformData();int nErrorCode = 0;String strErrorMsg = 'START';/******* JDBC Connection *******/Connection conn = null;Statement stmt = null;ResultSet rs = null;Class.forName('com.microsoft.sqlserver.jdbc.SQLServerDriver');conn = DriverManager.getConnection('jdbc:sqlserver://localhost:1433;DatabaseName=Sample','guest','guest');stmt = conn.createStatement();try { /******* SQL query *************/ String SQL = 'select * from sample_customers_list'; rs = stmt.executeQuery(SQL); /********* Dataset Create ************/ DataSet ds = new DataSet('customers'); ds.addColumn('id',DataTypes.STRING, 4); ds.addColumn('name',DataTypes.STRING, 16); ds.addColumn('email', DataTypes.STRING, 32); ds.addColumn('phone', DataTypes.STRING, 16); ds.addColumn('comp_name', DataTypes.STRING, 32); ds.addColumn('department', DataTypes.STRING, 32); ds.addColumn('comp_phone', DataTypes.STRING, 16); ds.addColumn('comp_addr', DataTypes.STRING, 256); int row = 0; while(rs.next()) { row = ds.newRow(); ds.set(row, 'id', rs.getString('id')); ds.set(row, 'name', rs.getString('name')); ds.set(row, 'email', rs.getString('email')); ds.set(row, 'phone', rs.getString('phone')); ds.set(row, 'comp_name', rs.getString('comp_name')); ds.set(row, 'department', rs.getString('department')); ds.set(row, 'comp_phone', rs.getString('comp_phone')); ds.set(row, 'comp_addr', rs.getString('comp_addr')); } /********* Adding Dataset to PlatformData ************/ pdata.addDataSet(ds); nErrorCode = 0; strErrorMsg = 'SUCC';}catch(SQLException e) { nErrorCode = -1; strErrorMsg = e.getMessage();}/******** JDBC Close *******/if ( stmt != null ) try { stmt.close(); } catch (Exception e) {}if ( conn != null ) try { conn.close(); } catch (Exception e) {}PlatformData senddata = new PlatformData();VariableList varList = senddata.getVariableList();varList.add('ErrorCode', nErrorCode);varList.add('ErrorMsg', strErrorMsg);/******** XML data Create ******/HttpPlatformResponse res = new HttpPlatformResponse(response, PlatformType.CONTENT_TYPE_XML,'UTF-8');res.setData(pdata);res.sendData();%> </CodeTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: save_list.jsp ### Assistant: ์„œ๋ฒ„๋กœ ์ „์†กํ•œ ๋ฐ์ดํ„ฐ๋ฅผ ํŒŒ์ผ๋กœ ์ €์žฅํ•ฉ๋‹ˆ๋‹ค.</s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: save_list.jsp pseudo code ### Assistant: initdata.jsp, search.jsp์™€ ๋‹ค๋ฅด๊ฒŒ 'ํด๋ผ์ด์–ธํŠธ ์š”์ฒญ๋ฐ›๊ธฐ'๋ผ๋Š” ๋‹จ๊ณ„๊ฐ€ ์ถ”๊ฐ€๋˜์—ˆ์Šต๋‹ˆ๋‹ค. <CodeTag> // 1. Designating a Java library (including Nexacro X-API)// 2. Defining a MIME type// 3. Creating a basic object of Nexacro (PlatformData)try { // 4. Receiving a request from the client // 5. Processing data // 6. Processing ErrorCode and ErrorMsg (success message)} catch (Error) { // 6. Processing ErrorCode and ErrorMsg (failure message)}// 7. Sending result data to the client </CodeTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ์ฝ”๋“œ ๊ตฌํ˜„ ์ž๋ฐ” ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์ง€์ • ### Assistant: JSP ์„œ๋น„์Šค๋ฅผ ์ž‘์„ฑํ•˜๊ธฐ ์œ„ํ•ด ๊ธฐ๋ณธ ์ž๋ฐ” ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ์ง€์ •ํ•ฉ๋‹ˆ๋‹ค. ์ฝ”๋“œ๋Š” ์•„๋ž˜์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค. <CodeTag> <!-- 1. Designating a Java library --><%@ page import='java.io.*' %><%@ page import='com.nexacro.java.xapi.data.*' %><%@ page import='com.nexacro.java.xapi.tx.*' %> </CodeTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ์ฝ”๋“œ ๊ตฌํ˜„ MIME ํƒ€์ž… ์ •์˜ ### Assistant: XML ์ƒ์„ฑ์„ ์œ„ํ•œ MIME(Multipurpose Internet Mail Extensions) ํƒ€์ž…์„ ์ •์˜ํ•ฉ๋‹ˆ๋‹ค. <CodeTag> <!-- 2. Defining a MIME type --><%@ page contentType='text/xml; charset=UTF-8' %> </CodeTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ์ฝ”๋“œ ๊ตฌํ˜„ ๊ธฐ๋ณธ๊ฐ์ฒด(PlatformData) ์ƒ์„ฑํ•˜๊ธฐ ### Assistant: ๋ฐ์ดํ„ฐ๋ฅผ ์ฒ˜๋ฆฌํ•˜๊ธฐ ์œ„ํ•œ ๊ธฐ๋ณธ๊ฐ์ฒด๋ฅผ ์„ ์–ธํ•ฉ๋‹ˆ๋‹ค. ๊ธฐ๋ณธ ๊ฐ์ฒด์ธ PlatformData๋Š” ๋„ฅ์‚ฌํฌ๋กœ ์•ฑ์—์„œ ์‚ฌ์šฉํ•˜๋Š” ๋ชจ๋“  ๋ฐ์ดํ„ฐ(Dataset, ๋ณ€์ˆ˜)๋ฅผ ํ•œ๊บผ๋ฒˆ์— ๋‹ด์„ ์ˆ˜ ์žˆ๋Š” ๊ฐ์ฒด์ž…๋‹ˆ๋‹ค. PlatformData๋ฅผ ์„ ์–ธํ•˜๋Š” ์ฝ”๋“œ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค. <CodeTag> /** 3. Creating a basic object of Nexacro **/PlatformData pdata = new PlatformData(); </CodeTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ์ฝ”๋“œ ๊ตฌํ˜„ ํด๋ผ์ด์–ธํŠธ ์š”์ฒญ๋ฐ›๊ธฐ ### Assistant: ํด๋ผ์ด์–ธํŠธ๊ฐ€ ๋งค๊ฐœ๋ณ€์ˆ˜๋กœ ๋ณด๋‚ธ Dataset์„ ๋ฐ›์•„์„œ ์ฒ˜๋ฆฌํ•ฉ๋‹ˆ๋‹ค. <CodeTag> /** 4. Receiving a request from the client **/// create HttpPlatformRequest for receive data from clientHttpPlatformRequest req = new HttpPlatformRequest(request);req.receiveData(); </CodeTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ์ฝ”๋“œ ๊ตฌํ˜„ ํด๋ผ์ด์–ธํŠธ๊ฐ€ ๋ณด๋‚ธ ๋ฐ์ดํ„ฐ ์ถ”์ถœ ํ›„ ํŒŒ์ผ๋กœ ์ €์žฅํ•˜๊ธฐ ### Assistant: ํด๋ผ์ด์–ธํŠธ๊ฐ€ ๋ณด๋‚ธ ์ •๋ณด๋ฅผ ์ฒ˜๋ฆฌํ•  ์ˆ˜ ์žˆ๋„๋ก PlatformData๋กœ ๋ณ€ํ™˜ํ•œ ํ›„ Dataset์„ ์ถ”์ถœํ•ฉ๋‹ˆ๋‹ค. ์ƒ์„ฑ๋œ PlatformData๋Š” './saveFile.bin' ํŒŒ์ผ๋กœ ์ €์žฅํ•ฉ๋‹ˆ๋‹ค. <CodeTag> /** 5. Processing data: Loading data from the file **//** 5.1 Loading data from the http object **/ pdata = req.getData();/** Obtaining a dataset from the received data **/DataSet ds = pdata.getDataSet('customers');/** Saving data as a file with init data **/String targetFilename = './saveFile.bin';OutputStream target = new FileOutputStream(targetFilename);PlatformResponse res = new PlatformResponse(target, PlatformType.CONTENT_TYPE_BINARY);res.setData(pdata);res.sendData();target.close(); </CodeTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ์ฝ”๋“œ ๊ตฌํ˜„ ErrorCode ErrorMsg ์ฒ˜๋ฆฌํ•˜๊ธฐ ### Assistant: ์˜ˆ์™ธ ์ƒํ™ฉ์ด ๋ฐœ์ƒํ–ˆ์„ ๋•Œ ์ด๋ฅผ ์ฒ˜๋ฆฌํ•˜๊ธฐ ์œ„ํ•œ ๋ถ€๋ถ„์ž…๋‹ˆ๋‹ค. ์„ฑ๊ณต์ ์œผ๋กœ ์ฒ˜๋ฆฌํ•œ ๊ฒฝ์šฐ์—๋Š” ์ •์ƒ์ ์œผ๋กœ ์ €์žฅ๋˜์—ˆ๋‹ค๋Š” ๋ฉ”์‹œ์ง€๋ฅผ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค. <CodeTag> /** 6.1 Processing ErrorCode and ErrorMsg **/int nErrorCode = 0;String strErrorMsg = 'START';try { /** 6.2 Setting ErrorCode and ErrorMsg for success **/ nErrorCode = 0; strErrorMsg = 'person list saved complete : row count('+ds.getRowCount()+')';} catch (Throwable th) { /** 6.3 Setting ErrorCode and ErrorMsg for failure **/ nErrorCode = -1; strErrorMsg = th.getMessage();}/** 6.4 Saving ErrorCode and ErrorMsg to send them to the client **/PlatformData senddata = new PlatformData();VariableList varList = senddata.getVariableList();varList.add('ErrorCode', nErrorCode);varList.add('ErrorMsg', strErrorMsg); </CodeTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: ์ฝ”๋“œ ๊ตฌํ˜„ ๊ฒฐ๊ณผ๊ฐ’ Client์—๊ฒŒ ๋ณด๋‚ด๊ธฐ ### Assistant: ์ดˆ๊ธฐ๊ฐ’์ด ์ •์ƒ์ ์œผ๋กœ ํŒŒ์ผ์— ์ €์žฅ๋˜์—ˆ๋Š”์ง€๋ฅผ ์‚ฌ์šฉ์ž์—๊ฒŒ ์ „๋‹ฌํ•˜๊ธฐ ์œ„ํ•˜์—ฌ PlatformData ๊ฐ์ฒด๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. ์ด๋•Œ, ์•ž์—์„œ ์ €์žฅํ•œ ErrorCode์™€ ErrorMsg๊ฐ€ ์ „๋‹ฌ๋ฉ๋‹ˆ๋‹ค. VariableList๋Š” PlatformData์˜ ๋ฉค๋ฒ„์ด๋ฏ€๋กœ ์ˆ˜ํ–‰ ๊ฒฐ๊ณผ๊ฐ’์€ PlatformData ๊ฐ์ฒด์— ๋“ค์–ด์žˆ์Šต๋‹ˆ๋‹ค. ์ด์ œ PlatformData์˜ ๋ฐ์ดํ„ฐ๋ฅผ ๋„ฅ์‚ฌํฌ๋กœ์—์„œ ์ฒ˜๋ฆฌํ•  ์ˆ˜ ์žˆ๋Š” XML Format์œผ๋กœ ์ถ”์ถœํ•˜์—ฌ ์ „์†กํ•˜๋Š” ๋ถ€๋ถ„์„ ๊ตฌํ˜„ํ•ด ๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค. ๋ฐ์ดํ„ฐ๋ฅผ ์ „์†กํ•˜๋Š” ๊ธฐ๋Šฅ์„ ์‰ฝ๊ฒŒ ๊ตฌํ˜„ํ•˜๊ธฐ ์œ„ํ•ด PlatformResponse ๊ฐ์ฒด๋ฅผ ๋งŒ๋“ค๊ณ  PlatformData ๊ฐ์ฒด์—์„œ ๋ฐ์ดํ„ฐ๋ฅผ ์ถœ๋ ฅ์‹œํ‚ค๋Š” ์ฝ”๋“œ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค. <CodeTag> /** 7. Sending result data to the client **/HttpPlatformResponse res = new HttpPlatformResponse(response, PlatformType.CONTENT_TYPE_XML,'UTF-8');res.setData(senddata);res.sendData(); </CodeTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: save_list.jsp ์ „์ฒด ์ฝ”๋“œ ### Assistant: <CodeTag> ์ฝ”๋“œ 6- save_list.jsp<!-- 1. Designating a Java library --><%@ page import='java.io.*' %><%@ page import='com.nexacro.java.xapi.data.*' %><%@ page import='com.nexacro.java.xapi.tx.*' %><!-- 2. Defining a MIME type --><%@ page contentType='text/xml; charset=UTF-8' %><%/** 3. Creating a basic object of Nexacro **/PlatformData pdata = new PlatformData();/** 6.1 Processing ErrorCode and ErrorMsg **/int nErrorCode = 0;String strErrorMsg = 'START';try { /** 4. Receiving a request from the client **/ // create HttpPlatformRequest for receive data from client HttpPlatformRequest req = new HttpPlatformRequest(request); req.receiveData(); /** 5. Processing data: Loading data from the file **/ /** 5.1 Loading data from the http object **/ pdata = req.getData(); /** Obtaining a dataset from the received data **/ DataSet ds = pdata.getDataSet('customers'); /** Saving data as a file with init data **/ String targetFilename = './saveFile.bin'; OutputStream target = new FileOutputStream(targetFilename); PlatformResponse res = new PlatformResponse(target, PlatformType.CONTENT_TYPE_BINARY); res.setData(pdata); res.sendData(); target.close(); /** 6.2 Setting ErrorCode and ErrorMsg for success **/ nErrorCode = 0; strErrorMsg = 'person list saved complete : row count('+ds.getRowCount()+')';} catch (Throwable th) { /** 6.3 Setting ErrorCode and ErrorMsg for failure **/ nErrorCode = -1; strErrorMsg = th.getMessage(); System.out.println('ERROR:'+strErrorMsg); }/** 6.4 Saving ErrorCode and ErrorMsg to send them to the client **/PlatformData senddata = new PlatformData();VariableList varList = senddata.getVariableList();varList.add('ErrorCode', nErrorCode);varList.add('ErrorMsg', strErrorMsg);/** 7. Sending result data to the client **/HttpPlatformResponse res = new HttpPlatformResponse(response, PlatformType.CONTENT_TYPE_XML,'UTF-8');res.setData(senddata);res.sendData();%> </CodeTag></s>
<s>### System: ๋„ฅ์‚ฌํฌ๋กœ์™€ ๊ด€๋ จ๋œ ๋‚ด์šฉ์„ ์šฐ์„ ์œผ๋กœ ๋Œ€๋‹ตํ•ด์ค˜ ### User: save_list.jsp ๋ฐ์ดํ„ฐ ์ €์žฅ ์ด๋ฒคํŠธ ### Assistant: ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (ํŠธ๋žœ์žญ์…˜)์—์„œ ๋งŒ๋“  ํ™”๋ฉด์— ๋ฒ„ํŠผ ์ปดํฌ๋„ŒํŠธ๋ฅผ ์ถ”๊ฐ€ํ•˜๊ณ  ์•„๋ž˜์™€ ๊ฐ™์ด onclick ์ด๋ฒคํŠธ๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. ํ™”๋ฉด ๋‚ด ๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜๋ฉด save_list.jsp ์„œ๋น„์Šค๊ฐ€ ํ˜ธ์ถœ๋˜๋ฉด์„œ ํ™”๋ฉด์—์„œ ์ˆ˜์ •ํ•œ ๋ฐ์ดํ„ฐ์…‹์„ ์„œ๋ฒ„๋กœ ์ „์†กํ•˜๊ณ  ๋‹ค์‹œ ํŒŒ์ผ๋กœ ์ €์žฅํ•ฉ๋‹ˆ๋‹ค. ๋ฐ์ดํ„ฐ๋ฅผ ์ˆ˜์ •ํ•  ์ˆ˜ ์žˆ๋Š” ๊ธฐ๋Šฅ์„ ๊ฐ„๋‹จํ•˜๊ฒŒ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. ํ™”๋ฉด ๋‚ด ๊ทธ๋ฆฌ๋“œ๋ฅผ ๋”๋ธ”ํด๋ฆญํ•˜๊ณ  Grid Contents Editor๋ฅผ ์‹คํ–‰ํ•œ ๋‹ค์Œ Name ํ•ญ๋ชฉ์„ ์„ ํƒํ•œ ํ›„ edittype ์†์„ฑ์„ 'text'๋กœ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (X-API)|save_list.jsp|๋ฐ์ดํ„ฐ ์ €์žฅ ์ด๋ฒคํŠธ/1.jpg</ImgTag> ๋ฐ์ดํ„ฐ ์กฐํšŒ ํ›„ ํ•ด๋‹น ํ•ญ๋ชฉ์„ ๋”๋ธ” ํด๋ฆญํ•˜๋ฉด ๋ฐ์ดํ„ฐ๋ฅผ ์ˆ˜์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. <ImgTag>์ดˆ๋ณด์ž๋ฅผ ์œ„ํ•œ ์ž์Šต์„œ|ํ™”๋ฉด ๋งŒ๋“ค๊ธฐ (X-API)|save_list.jsp|๋ฐ์ดํ„ฐ ์ €์žฅ ์ด๋ฒคํŠธ/2.jpg</ImgTag> ๋ฐ์ดํ„ฐ ์ˆ˜์ • ํ›„ ์ €์žฅ(save) ๋ฒ„ํŠผ์„ ํด๋ฆญํ•ด ๋ฐ์ดํ„ฐ๋ฅผ ์„œ๋ฒ„๋กœ ์ „์†กํ•ฉ๋‹ˆ๋‹ค. ํ™”๋ฉด์„ ์ƒˆ๋กœ ๊ณ ์นจํ•œ ๋‹ค์Œ ์กฐํšŒ(Search) ๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜๋ฉด ์ˆ˜์ •ํ•œ ๋ฐ์ดํ„ฐ๊ฐ€ ์กฐํšŒ๋˜๋Š” ๊ฒƒ์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. <CodeTag> this.divCommand_btnSaveList_onclick = function(obj:nexacro.Button, e:nexacro.ClickEventInfo){ var id = 'save_list'; var url = 'SvcList::save_list.jsp'; var reqDs = 'customers=dsCustomers'; var respDs = ''; var args = ''; var callback = 'save_list_received'; this.transaction(id, url, reqDs, respDs, args, callback);}this.save_list_received = function(id, code, message){ if (code == 0) { this.alert(message); trace(message); } else { this.alert('Error['+code+']:'+message); trace('Error['+code+']:'+message); }} </CodeTag></s>
README.md exists but content is empty. Use the Edit dataset card button to edit it.
Downloads last month
32
Edit dataset card