Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / October 2005

Tip: Looking for answers? Try searching our database.

How can I verify US mailing address in Java?

Thread view: 
homs_71 - 10 Oct 2005 17:01 GMT
I have Java web application and I need to verify customer entered
address. Or at least auto populate City and state from the entered zip
code. Did anyone ever face this issue? I found a web service that can
do that but I want to explore all other options.

Thanks in advance for your help

Adam
Roedy Green - 10 Oct 2005 20:54 GMT
>I have Java web application and I need to verify customer entered
>address. Or at least auto populate City and state from the entered zip
>code. Did anyone ever face this issue? I found a web service that can
>do that but I want to explore all other options.

Abundance, my DOS based data entry language has the following tables
it uses for address validation.  You are welcome to them.  They are
coded in FORTH, so you might need to do a little work to convert them
and update them.

list of legit zip code prefixes

list of zip code/state pairs.

list of area code/state pairs

list of state abbreviations

In Canada the post office has a service to look up an address by
postal code or vice versa.  That might be used on a background thread
for validation. Perhaps there is now something similar in the USA.

Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.