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
- 명시적외래키
- React
- 상속
- JavaScript
- inserttrigger
- intellij
- error
- Config
- 자원정리
- .net
- JSON
- Request
- ""+n
- lazy loading
- 코드프로그래머스
- minimalAPI
- extraParams
- vscode
- ViewModel
- mac
- DbSave
- EFCore
- Store
- c#
- extjs
- dbContext
- ORM
- LINQ
- c#코딩의기술실전편
- scanner
Archives
- Today
- Total
ejyoo's 개발 노트
File.separator 본문
beanConfigXml = ctx.getRealPath("/")
+ beanConfigXml.replace("classpath:", "WEB-INF/classes/").replace("/", File.separator);
운영체제에 맞게 경로 구분자를 변경해줌.
'BackEnd > JSP_Servlet' 카테고리의 다른 글
톰캣 서버에 프로젝트 목록이 뜨지 않을 때. (0) | 2021.05.29 |
---|---|
Tomcat 배포기준 ROOT (0) | 2021.05.28 |
[Eclipse] 프로젝트를 복사하여 Rename으로 WebProject 이름 변경 시 Server에서 변경된 이름으로 Path를 인식하지 못하는 현상 해결 방법 (0) | 2021.05.23 |
[JSP] WAS에서 기본 서블릿과 .jsp 의 관계 (0) | 2021.05.14 |
ibatis 비교문 태그 목록 (0) | 2021.05.09 |