Two Laptop Bag
The moose likes Servlets and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Servlets
Bookmark "" Watch "" New topic

Paul Wetzel
Ranch Hand

Joined: Nov 02, 1999
Posts: 107
does anyone know what the difference is between URL getExternalForm() and toString() methods of a URL object.
thanks in advnace
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

I couldn't make out any difference in the method behavoir or
return value from the URL API Spec..
I am trying out an example and will update if there is a difference. The only difference which the API mentions is that the toString method overrides the toString of the Object class.

- satya

Take a Minute, Donate an Hour, Change a Life
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
It's not a secret anymore!