Skip to Main Content

Java Programming

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!

Adding a hyperlink in java code

807591May 14 2008 — edited May 15 2008
Please let me know the procedure to add a hyperlink in java code.
For example, I want to add a link in the following code to the output

out.write("\n Sum : " + sum);

Output should be

Sum : 24

In the above answer, I need 24 o be displayed as a hyperlink which will redirect me to some webpage on clicking.
Awaiting the reply.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 12 2008
Added on May 14 2008
7 comments
2,777 views