how get user name,directory,os etc

by RameshKumar 2008-05-19 16:03:11

<HTML>
<BODY>
<!-- Hello! The time is now <%= new java.util.Date() %> -->
Java Version <%= System.getProperty("java.version") %><br><br>
Java home <%= System.getProperty("java.home") %><br><br>
User Os <%= System.getProperty("os.name") %><br><br>
User Name <%= System.getProperty("user.name") %><br><br>
User Home <%= System.getProperty("user.home") %><br><br>
User Directory <%= System.getProperty("user.dir") %><br><br>
</BODY>
</HTML>

Tagged in:

1788
like
0
dislike
0
mail
flag

You must LOGIN to add comments