The Spanish-American War actually went longer than the conflict in Cuba. The famous battles in Cuba were just one theater of operations for the war. The Philippine Insurrection was another. The intent of the war was to drive the Spanish influence from the Western Hemisphere.
The soldier that this lady is asking about would have been credited with Spanish-American War service for serving in the Philippine Islands. The action there lasted until about 1902.