출처 : Eclipse WTP newgroups
1. 일단 톰캣 서버에 프로젝트를 디플로이 한다. (Add and Remove Projects를 이용해서 Webapp 등록)
2. 등록한 톰캣 서버을 더블클릭해서 설정창(에디트)을 연다.
3. 설정창(에디트창) 왼쪽 하단부의 Modules 탭을 눌러 웹 모듈 편집 화면으로 간다.
4. 원하는 모듈 선택 후 Edit.. 버튼을 눌러 팝업된 창의 Path 부분을 말끔히 지운다.
5. 설정을 저장하고 닫는다.
6. Webapp의 프로젝트로 가서 오른쪽 버튼을 누른 뒤 Run As 항목의 Run on Server을 누른다.
7. 등록한 톰캣 서버를 선택하고 Next를 두번 누른다.
8. "Update context root for Web module" 의 체크를 푼다음 Finish
이제 서버는 Publishing을 할 것이며 화면에는 우리가 원하는데로 루트에 우리의 웹어플을 붙일 수 있게 되었다.
1. 일단 톰캣 서버에 프로젝트를 디플로이 한다. (Add and Remove Projects를 이용해서 Webapp 등록)
2. 등록한 톰캣 서버을 더블클릭해서 설정창(에디트)을 연다.
3. 설정창(에디트창) 왼쪽 하단부의 Modules 탭을 눌러 웹 모듈 편집 화면으로 간다.
4. 원하는 모듈 선택 후 Edit.. 버튼을 눌러 팝업된 창의 Path 부분을 말끔히 지운다.
5. 설정을 저장하고 닫는다.
6. Webapp의 프로젝트로 가서 오른쪽 버튼을 누른 뒤 Run As 항목의 Run on Server을 누른다.
7. 등록한 톰캣 서버를 선택하고 Next를 두번 누른다.
8. "Update context root for Web module" 의 체크를 푼다음 Finish
이제 서버는 Publishing을 할 것이며 화면에는 우리가 원하는데로 루트에 우리의 웹어플을 붙일 수 있게 되었다.
1. Leaving the context-root setting in the project as is (i.e. don't try to set it to "/"), deploy the project to the Tomcat server.
2. Double-click on the Tomcat server in the Servers view to open the configuration editor.
3. Switch to the Modules page of the editor and select the web module for the project.
4. Click the "Edit..." button, clear the Path field, and click OK.
5. Save the Tomcat configuration and close the editor.
6. Right-click on the project in a navigator or a resource in the web module and select Run As -> Run on Server.
7. Select the server to which the project was previously added and click Next.
8. Click Next again. Uncheck the "Update context root for Web module..." checkbox and click Finish. This will add a setting that prevents the change made in step 4 from being overwritten by the project's context-root setting. The browser should appear with the correct default webapp appropriate URL.
'transmissive' 카테고리의 다른 글
| 노트 필기법 (0) | 2007/05/09 |
|---|---|
| 어떻게 문제를 풀것인가? (0) | 2007/05/09 |
| 블로그 검색 나루 (0) | 2007/05/07 |
| Eclipse WTP: Webapps make ROOT Context in Server (0) | 2007/02/22 |

