wood burning stoves 2.0*
The moose likes Ranch Office and the fly likes How to get URL for a post Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "How to get URL for a post" Watch "How to get URL for a post" New topic
Author

How to get URL for a post

Anayonkar Shivalkar
Bartender

Joined: Dec 08, 2010
Posts: 1456
    
    5

Hi All,

Is there any (easy)way to get URL for a post? Say, if I need to mention link to a particular post from a thread, how should one obtain it?

Currently, I follow the crud way: open page source, find out the post id, and the link would be <thread_url> + "#" + <post_id>.

I would appreciate if anyone's aware of any simpler way for this.

Many Thanks.


Regards,
Anayonkar Shivalkar (SCJP, SCWCD, OCMJD, OCEEJBD)
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24166
    
  30

At the top of your post, it says something like "posted Today 17:20:26" in magenta. Immediately to the left of those words is a tiny document icon; it's a link to your post. Right-click it, and copy the link address.


[Jess in Action][AskingGoodQuestions]
Anayonkar Shivalkar
Bartender

Joined: Dec 08, 2010
Posts: 1456
    
    5

Ernest Friedman-Hill wrote:At the top of your post, it says something like "posted Today 17:20:26" in magenta. Immediately to the left of those words is a tiny document icon; it's a link to your post. Right-click it, and copy the link address.

Over a thousand posts and I never knew this...

Thanks a lot Ernest!
 
wood burning stoves
 
subject: How to get URL for a post
 
Similar Threads
Unable to implement interfaces
awt colors
How to put '&' in request query string
For the Moderators .............
Opening shortcuts using Java?