JavaScript

jsp: get current path

tomato13 2011. 6. 17. 15:11

http://www.roseindia.net/jsp/jsp-current-path.shtml


<html>

<head>

</head>

<body>

<h1>Directories</h1>

<ul>

<%

out.println(request.getRealPath("/"));

%>

</ul>

</body>

</html>

'JavaScript' 카테고리의 다른 글

jsp: file i/o  (0) 2011.06.19
jsp: get file list of directory  (0) 2011.06.17
split  (0) 2011.06.16
j query mobile: changePage  (0) 2011.06.16
j query mobile: swipe  (0) 2011.06.16