proper way to access local dir? 2004-01-16 - By Daniel
Back
Hi,
I'm trying to access a "file respository" (for read and write of files) from my servlet. I was wondering what's the best way to do this in a container/platform-independent manner?
Is it possible without putting an "init" param in the web.xml that specifies my repository's directory or hard coding it into my servlet?
I noticed the servlet 2.3 api has ServletContext.getResource(path) but it doesn't return a path to a local file directory that I'm interested in. :(
Regards, Daniel
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|