my dog learned polymorphism*
The moose likes Java in General and the fly likes International zip code verification Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "International zip code verification" Watch "International zip code verification" New topic
Author

International zip code verification

Jennifer Sohl
Ranch Hand

Joined: Feb 28, 2001
Posts: 455
Hi. We are looking to create a java class that the user can key a zip code and the correct city/state information will come back. We would like this to work for all of the countries. Does anyone know of any good databases that hold all of this information??
Thanks for the help!
Michael Ernest
High Plains Drifter
Sheriff

Joined: Oct 25, 2000
Posts: 7292

Try www.zipcodes.com. They have a ton of information, including product databases, listed there.
[ February 11, 2002: Message edited by: Michael Ernest ]

Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
Paul Keohan
Ranch Hand

Joined: Mar 15, 2000
Posts: 411
Do you mean, entering one code will tell you where in the world this location is? - or would you run a different version for each country? Not all countries use zip/postal codes to cover their entire region.
Jennifer Sohl
Ranch Hand

Joined: Feb 28, 2001
Posts: 455
I was thinking depending on the country chosen, it would determine if a zip code was required or not. Which brings up another question, what's the easiest way to find out which countries have zip codes, and which ones don't? I'm kinda new at this stuff. I've never worked with internationalization before.
Thanks for the help
Paul Keohan
Ranch Hand

Joined: Mar 15, 2000
Posts: 411
It's not a very scientific method but you could try searching for post office websites for the countries you're interested in. 'German Post Office', 'Irish Post Office' etc.
John Mill
Greenhorn

Joined: Feb 12, 2002
Posts: 11
You might also be interested to know that some countries use alpha-numeric codes rather than just numbers and the location of the code in the address varies as well, (sometimes it is at the top). If you really want to give your users a 'local' experience you might have to consider this in your gui design ;->
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: International zip code verification
 
Similar Threads
ZipOutputStream and nested zip files
sample application
zip code to city/state database
service for zipcode
delete files excluding zipfiles