Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
Tags
- maVen
- Source
- VirtualBox
- context
- tomcat
- lsof
- port
- resource
- web.xml
- netsh
- Quartz
- 단축키
- Windows
- Windows 10
- GIT
- IntelliJ
- Eclipse
- 줄바꿈 문자
- JavaScript
- grep
- plugin
- xargs
- 네트워크
- ssh
- import
- vscode
- find
- Mac
- profile
- bash
Archives
- Today
- Total
develog
[Eclipse] wtp root context 본문
eclipse, myapp 프로젝트를 root context 로 디플로이 및 실행
▶ Project Properties
- Context root '/' 로 지정
▶ Servers view > Tomcat 6 더블클릭 > Overview
- 기본 셋팅으로 진행
▶ Servers view > Tomcat 6 더블클릭 > Modules
- Path '/' 로 지정
▶ server.xml 설정
- Context 태그에서 docBase, path, source 지정
<Host name="www.myapp.com" appBase="webapps" autoDeploy="true" unpackWARs="true" xmlNamespaceAware="false" xmlValidation="false"> <Context docBase="C:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\myapp" path="" reloadable="true" source="org.eclipse.jst.j2ee.server:myapp"/> </Host> |
▶ Servers view, Synchronized 확인
▶ 실행되는지 확인
http://www.myapp.com:8080/aa.html
'IDE > eclipse' 카테고리의 다른 글
[Eclipse] cotext root (0) | 2017.04.10 |
---|---|
[Eclipse] cannot change version of project facet dynamic web module to 2.5 (0) | 2017.03.29 |
[Eclipse] Server Locations, Tomcat deploy path (0) | 2016.11.24 |
[eclipse] deploy path, org.eclipse.wst.server.core (0) | 2016.11.24 |
[Eclipse] 정규식 찾기 (0) | 2016.11.04 |