The bridge depicted in the film is most definitely real. In fact, there were two: one a wooden railway bridge and the other a ferroconcrete structure built using imported bridge sections from Japanese-controlled Java. It's this structure, Bridge 277, that still stands and is a famous local tourist attraction.