*
The moose likes Ranch Office and the fly likes Problem using the URL button to mark text as a URL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "Problem using the URL button to mark text as a URL" Watch "Problem using the URL button to mark text as a URL" New topic
Author

Problem using the URL button to mark text as a URL

Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9930
    
159

I tried enclosing the following url in the URL tag(using the button available below), but failed while submitting the post. The error keeps mentioning that there's an invalid html tag.




[My Blog] [JavaRanch Journal]
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

Yep; it's an unfortunate limitation of the software. It's the parentheses.
[ May 17, 2006: Message edited by: Ernest Friedman-Hill ]

[Jess in Action][AskingGoodQuestions]
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9930
    
159

limitation of the software


Thank you for confirming. Cant do much in such cases I still love the entire Javaranch site and whatever little features it has.
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11404
    
  81

This is a really ugly workaround, but you can replace the characters that UBB complains about with the HTML character set equivalents, and get a working URL from it.

For example: java.lang.String, org.apache.log4j.spi.LoggerRepository)" target="_blank" rel="nofollow">doConfigure(String, LoggerRepository)

To get that, I replaced the left parenthesis '(' with ( and the space with  

Regards, Andrew


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11404
    
  81

If you are not sure what I mean, try doing a quoted reply to my post by clicking on the icon at the top of my post. You will then be able to see exactly how I achieved this.

Regards, Andrew
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9930
    
159

you can replace the characters that UBB complains about with the HTML character set equivalents


Thanks Andrew, i got what you are saying.
 
wood burning stoves
 
subject: Problem using the URL button to mark text as a URL
 
Similar Threads
remove log4j appender from an API
Unable to set classpath for log4j
Automate file update
Problem in playing mp3 from databse in swf player
Performance and Scalability