You can go to
http://www.itd.nps.gov/cwss/soldiers.cfm and do a serach for J. W. Wilder, but without knowing where he served it will be somewhat difficult to find the right man. The records may only give you a slim clue as to his family connections unless a pension was filed.
GP