jQuery in Action, 2nd edition*
The moose likes Beginning Java and the fly likes Replace 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 » Java » Beginning Java
Bookmark "Replace URL" Watch "Replace URL" New topic
Author

Replace URL

Devutty Pradeep
Greenhorn

Joined: Jan 21, 2003
Posts: 3
Hello,
I've a string with so many urls like "This string causes trouble http://www.abc.com and this also https://www.abc.com and this also www.xyz.com. Ive to display it as links in the page.How do i do that? Any inbuilt functions to do this?
karl koch
Ranch Hand

Joined: May 25, 2001
Posts: 388
hi
- check out the java.util.regexp package.
- do it yourself with a StringTokenizer
karl
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
As links to what on what kind of page? What trouble are you having? What code are you using? Do you have a guess as to why you're experiencing a problem?


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Replace URL
 
Similar Threads
Replace URL
Connect jsp & mySQL Remotely
Connect jsp & mySQL Remotely
struts url-pattern problem..
Redirecting The Request