This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 60782
    
  65

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Home directory
 
Similar Threads
How do I configure to enable default ldap authentication ?
Where is sun/i-planet forum
how to find current directory and user home directory ?
How do I setup servlet directory ?
ant script and solaris package