aspose file tools*
The moose likes Servlets and the fly likes Home directory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Home directory" Watch "Home directory" New topic
Author

Home directory

Siva kandasamy
Ranch Hand

Joined: Dec 31, 2002
Posts: 139
Hi there,
I am working on unix environment.

1. How do I find user's home directory ie. $HOME from the running servlet.
2. How do I find the directory, where my class is located.

thanks
siva




thanks
siva
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61772
    
  67

How do I find user's home directory ie. $HOME from the running servlet.


What user? The person sitting at the browser?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Siva kandasamy
Ranch Hand

Joined: Dec 31, 2002
Posts: 139
No. I mean the application host home directory.
thanks
siva
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Home directory