You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/10/31 05:00:33 UTC

DO NOT REPLY [Bug 14114] New: - servletContext.getContext(Str)

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14114>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14114

servletContext.getContext(Str)

           Summary: servletContext.getContext(Str)
           Product: Tomcat 4
           Version: 4.1.12
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: weejim@ecquaria.com


Suppose I have a webapp whose context is called testContext.

In a servlet deployed as part of the webapp, when I call 
   this.getServletContext().getContext("/testContext"), 
I got a null.

am expecting the result to be the same as this.getServletContext().
(this refers to the servlet)

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>