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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "Adding URLs to a post" Watch "Adding URLs to a post" New topic
Author

Adding URLs to a post

Sridhar Santhanakrishnan
Ranch Hand

Joined: Mar 20, 2007
Posts: 317
Just noticed something, I typed a url using the url button at the top. I then find that I was not able to click on the link. Found out that I didnt add the protocol at the beginning of the url (http://). Any reasons why JR doesnt add a default protocol and redirect to the site? Or is it something technical?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41164
    
  45
Using the URL tag (which the button adds) just causes the URL to be rendered as a clickable link. While HTTP URLs are the most common form of URLs, other protocols are supported, and there's no easy way to find out what kind of URL it is. So, yes - you need to enter a complete, valid URL.


Ping & DNS - my free Android networking tools app
Sridhar Santhanakrishnan
Ranch Hand

Joined: Mar 20, 2007
Posts: 317
Thanks Ulf
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

If you do indeed use the "URL" button, the popup should include "http://" already as the default text.


[Jess in Action][AskingGoodQuestions]
 
Don't get me started about those stupid light bulbs.
 
subject: Adding URLs to a post
 
Similar Threads
Ftp implementation
unknown protocol: c error
Accessing jar file contents
URL https connection problems, please help!!!
Accessing files, detemining if they exist...