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]>

Reply via email to