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/05/28 20:48:12 UTC

DO NOT REPLY [Bug 9466] New: - Tomcat 4.0.3 fails to find location of certain files in the classpath

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

Tomcat 4.0.3 fails to find location of certain files in the classpath

           Summary: Tomcat 4.0.3 fails to find location of certain files in
                    the classpath
           Product: Tomcat 4
           Version: 4.0.3 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: ntsengas@shawsystems.com


In Tomcat3.3.1 I am able to access my *.mnu files, located in <myproject>\WEB-
INF\classes directory, using the following command:

InputStream is = getClass().getResourceAsStream("/" + fileName);

However, using the same war file and making sure that the *.mnu files are 
located in the Tomcat4.0.3 ... <myproject>\WEB-INF\classes directory, this same 
command is not able to find these files.

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