Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

International zip code verification

 
Jennifer Sohl
Ranch Hand
Posts: 455
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try www.zipcodes.com. They have a ton of information, including product databases, listed there.
[ February 11, 2002: Message edited by: Michael Ernest ]
 
Paul Keohan
Ranch Hand
Posts: 411
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 455
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 411
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ;->
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic