File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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: 41634
    
  55
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]
 
Consider Paul's rocket mass heater.
 
subject: Adding URLs to a post