dannyc 00/10/20 12:41:47
Modified: src/share/javax/servlet Tag: SERVLET_23_JSP_12
ServletContext.java
Log:
clarification for getRealPath()
Revision Changes Path
No revision
No revision
1.1.1.1.4.2 +4 -3 jakarta-servletapi/src/share/javax/servlet/ServletContext.java
Index: ServletContext.java
===================================================================
RCS file: /home/cvs/jakarta-servletapi/src/share/javax/servlet/ServletContext.java,v
retrieving revision 1.1.1.1.4.1
retrieving revision 1.1.1.1.4.2
diff -u -r1.1.1.1.4.1 -r1.1.1.1.4.2
--- ServletContext.java 2000/10/19 04:02:47 1.1.1.1.4.1
+++ ServletContext.java 2000/10/20 19:41:46 1.1.1.1.4.2
@@ -439,9 +439,10 @@
/**
* Returns a <code>String</code> containing the real path
- * for a given virtual path. For example, the virtual path "/index.html"
- * has a real path of whatever file on the server's filesystem would be
- * served by a request for "/index.html".
+ * for a given virtual path. For example, the path "/index.html"
+ * returns the absolute file path on the server's filesystem would be
+ * served by a request for "http://host/contextPath/index.html",
+ * where contextPath is the context path of this ServletContext..
*
* <p>The real path returned will be in a form
* appropriate to the computer and operating system on
|