Server Configuration:JSP

From Svg wiki

JSP Page Directive

To serve your file as SVG (with the correct MIME type) add the following JSP page directive to the top of your file. Make sure it comes before any of your markup because trying to send an HTTP header after some of the file has been sent to the client will cause an error.

<%@ page contentType="image/svg+xml" %>