Hi,

> how can I get current directory in servlet?

This is not Linux-specific, or even servlet-specific, for that matter.
There is a trick, though it feels like bad programming form:

new File(".").getAbsolutePath();

In the future, you would do better by finding a more appropriate forum for
questions that are not specific to the Linux JDK(s).

Cheers,
dstn.


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to