You are viewing a plain text version of this content. The canonical link for it is here.
Posted to servletapi-dev@jakarta.apache.org by da...@locus.apache.org on 2000/10/19 06:02:48 UTC
cvs commit: jakarta-servletapi/src/share/javax/servlet ServletContext.java
dannyc 00/10/18 21:02:47
Modified: src/share/javax/servlet Tag: SERVLET_23_JSP_12
ServletContext.java
Log:
Added getServletContextName() per expert group & several feedback requests
Revision Changes Path
No revision
No revision
1.1.1.1.4.1 +11 -0 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
retrieving revision 1.1.1.1.4.1
diff -u -r1.1.1.1 -r1.1.1.1.4.1
--- ServletContext.java 2000/04/26 05:22:28 1.1.1.1
+++ ServletContext.java 2000/10/19 04:02:47 1.1.1.1.4.1
@@ -627,6 +627,17 @@
*/
public void removeAttribute(String name);
+
+ /**
+ * Returns the name of this web application correponding to this ServletContext as specified in the deployment
+ * descriptor for this web application by the <display-name> element.
+ *
+ *
+ * @return The name of the web application or null if no name has been declared in the deployment descriptor.
+ * @since Servlet 2.3
+ */
+
+ public String getServletContextName();
}