File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Host name Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Host name" Watch "Host name" New topic
Author

Host name

lynda leanne
Greenhorn

Joined: Oct 19, 2003
Posts: 2
Please help, how do you read the name of the host computer? I think you use getLocalHost() but have no idea how. An example would be really great.
thanks in advance,
Lynda
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
In what context is your app running? Is it an Applet? Is it a Servlet?


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
lynda leanne
Greenhorn

Joined: Oct 19, 2003
Posts: 2
Its an applet
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Host name