application 객체에서 3가지 메서드를 제공한다.

1. getRealPath(String path) : String -> 물리적 경로에 대한 웹상의 경로를 리턴
2. getResource(String path) : java.net.URL -> 물리적 경로에 대한 URL객체를 리턴
3. getResourceAsStream(String path) : java.io.InputStream -> 물리적 경로에 대한 InputStream 을 리턴
 

'Java > Jsp' 카테고리의 다른 글

[Jsp] Java Custom Tag  (0) 2012.02.09
[Jsp] JSTL <c:forEach></c:forEach> 반복처리  (0) 2011.11.07
[JSP] <jsp:include>와 <%@ page include %>의 차이  (0) 2011.04.25
[JSP] UrlEncoding 하기  (0) 2011.04.25
[JSP] Procedure Call  (0) 2011.03.17
posted by 뚱2