Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to use System.getProperty?

843835Mar 1 2002 — edited Mar 1 2002
I was trying to do the exercises from JSP Tutorial homepage but I couldn't do this one. Can anyone help me?

This is the source code given as an example.

<HTML>
<BODY>
Hello! The time is now <%= new java.util.Date() %>
</BODY>
</HTML>


Exercise: Write a JSP to output the values returned by System.getProperty for various system properties such as java.version, java.home, os.name, user.name, user.home, user.dir etc.

Rob
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 29 2002
Added on Mar 1 2002
4 comments
446 views