The invention provides a bioadhesive composition comprising a polysaccharide and an energy converter, wherein the energy converter is activated by non-UV light. The composition may be prepared by dissolving the polysaccharide and the energy converter in an aqueous acidic solution. The composition, in the form of a film or a gel, may be used for repairing a discontinuity in an area of tissue or for joining tissue.