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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 39547
    
  27
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 - updated with new look and Ping home screen widget
Sridhar Santhanakrishnan
Ranch Hand

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

Joined: Jul 08, 2003
Posts: 24166
    
  30

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


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Adding URLs to a post
 
Similar Threads
Ftp implementation
unknown protocol: c error
URL https connection problems, please help!!!
Accessing jar file contents
Accessing files, detemining if they exist...