tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Morkeleb <as...@gmx.at>
Subject Accessing resource in WEB-INF outside servlet
Date Sun, 07 Nov 2004 15:50:37 GMT
Hi.

I have a file in WEB-INF which I want to access.
However, this is done in a static class which is not a servlet,
so I do not have the servlet context.

Is there a way to access the servlet context non the less?
Is there a way to make getResource find the file anyway?

I know a resource is found when it's in /WEB-INF/classes,
but it is only in /WEB-INF/ and it is not an option to move
it to the classes directory.

Can you help me?
Thanx in Advance,
Lukas Österreicher



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message