Try a content type of "image/svg+xml", and potentially, making sure that the url path 
ends with ".svg".

Don'tchya just love SVG!

Cheers

M

*********** REPLY SEPARATOR  ***********

On 6/11/2002 at 21:31 Akmal Sarhan wrote:

>Hello,
>
>I am trying to display SVG graphics with turbine, but somehow I got stuck!
>I end up with the source code of the SVG displayed as if it was normal XML
>text.
>
>in my Action class:
>//String svgString=<svg source code>
>data.setContentType("image/svg-xml");
>        try
>        {
>            data.getOut().write(svgString);
>            data.getOut().flush();
>            data.getOut().close();
>        } catch (Exception e)
>        {
>            e.printStackTrace();
>        }
>
>Any ideas what I am doing wrong?
>Akmal
>
>
>_________________________________________________________________
>MSN Photos is the easiest way to share and print your photos:
>http://photos.msn.com/support/worldwide.aspx
>
>
>--
>To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to