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=7662>.
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=7662

javax.servlet.ServletContext;

           Summary: javax.servlet.ServletContext;
           Product: Tomcat 4
           Version: 4.0.3 Final
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Servlet & JSP API
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Platforms and OS affected:
NT 4/Intel Pentium III
Solaris 8/Sparc Ultra80

Using tomcat 4.0.1 I could get servlet context of another application running 
on the same tomcat server, regardless jdk1.3 or 1.4 . For example,

Current servlet context is "/myservlet".

ServletContext srvctx = request.getSession().getServletContext();
ServletContext rootctx = srvctx.getContext("/");
ServletContext cachectx = srvctx.getContext("/cache");

rootctx and cachectx contexts would result in non-null resolvable values.

However when I ran myservlet to tomcat 4.0.3,regardless jdk1.3 or 
1.4, "/myservlet" produced null values for rootctx and cachectx .

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to