tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Taylor <j...@terristech.com>
Subject Current the context from a servlet - to open a file?
Date Wed, 13 Dec 2000 21:46:48 GMT
When running a servlet (located in webapps/myapp/WEB-INF/classes) I'd
like to open a ascii file (located in webapps/myapp).  What's the best
way of obtaining the current Context -- so as not to hardcode it in?  Is
there an appropriate class/method to call?  Thanks in advance!

Jeff


Mime
View raw message