๋กœ์ผ“๐Ÿพ
article thumbnail

 


# ์›์ธ

์—๋Ÿฌ์—๋Ÿฌ

ํ”„๋กœ์ ํŠธ ์™ธ๋ถ€์— ์กด์žฌํ•˜๋Š” ํŒŒ์ผ ์—…๋กœ๋“œ์˜ ๊ฒฝ์šฐ ๋ณด์•ˆ์ƒ์˜ ์ด์œ ๋กœ ์ด๋ฏธ์ง€์— ์ ‘๊ทผํ•˜์ง€ ๋ชปํ•ฉ๋‹ˆ๋‹ค.

์ฆ‰ ์›น์—์„œ ๋กœ์ปฌํด๋”๋กœ ์ ‘๊ทผ์ด ๋ถˆ๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

 


# ํ•ด๊ฒฐ

 

tomcat์˜ server.xml ์— ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์ถ”๊ฐ€ํ•ด์ฃผ์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค.

<Host appBase="webapps" autoDeploy="true" name="localhost" unpackWARs="true">
	<Context docBase="kssfbiz" path="/" reloadable="true" source="org.eclipse.jst.jee.server:kssfbiz"/>
	<Context docBase="D:/FileUpload/kssfbiz/" path="/kssfbiz/upload" reloadable="true" />
</Host>

 

 

docBase="D:/FileUpload/kssfbiz/" ์ด๋ ‡๊ฒŒ ์„ค์ •ํ•ด์ฃผ์‹œ๋ฉด

url๋กœ ๋“ค์–ด๊ฐˆ ๋•Œ๋Š” localhost:8080/kssfbiz/upload ์ด๋Ÿฐ์‹์œผ๋กœ ๋“ค์–ด๊ฐ€์ฃผ์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค.

 

๋ฌผ๋ฆฌ์  ์ฃผ์†Œ - D:/FileUpload/kssfbiz/

๋…ผ๋ฆฌ์  ์ฃผ์†Œ(์‹ค์ œ ์ ‘์†ํ•  ๋•Œ) - http://localhost:8080/kssfbiz/upload/ (๋กœ์ปฌ์ผ์‹œ)

 

์ฃผ์˜ํ• ์ ์€ ๋ฐ˜๋“œ์‹œ reloadable์„ true๋กœ ํ•ด์ฃผ์…”์•ผ ํ•ฉ๋‹ˆ๋‹ค.

 

 

 

์ฝ์–ด์ฃผ์…”์„œ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค.

์งˆ๋ฌธ์€ ์–ธ์ œ๋‚˜ ํ™˜์˜ํ•ฉ๋‹ˆ๋‹ค.

 

"๋‚œ ๋ฐ˜๋“œ์‹œ ๋ฐฑ์—”๋“œ ์™•์ด ๋ ๊ฑฐ์•ผ"

profile on loading

Loading...