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

[b][red]This message was edited by the ntsengas at 2002-5-31 5:48:48[/red][/b][hr]
In Tomcat3.3.1 I am able to access my *.mnu files, located in WEB-
INFclasses 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 ... WEB-INFclasses directory, this same
command is not able to find these files. Any ideas how I can resolve this?

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!