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>