aspose file tools*
The moose likes Servlets and the fly likes java.net.url Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "java.net.url" Watch "java.net.url" New topic
Author

java.net.url

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

hmmmm....
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.

Regds.
- satya

Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.net.url