You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by xon <xo...@site.uottawa.ca> on 2004/02/26 18:43:35 UTC

Can't load SVG pages

Hello,

I would like to know if there is a work around to get Tomcat 4.1 and
Tomcat 5.0 to load SVG pages. I tried using
<%@ page contentType="image/svg+xml" %>
and
<% response.setContentType("image/svg-xml"); %>

This seems to work only in Tomcat 4.0.

Thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Can't load SVG pages

Posted by Bill Barker <wb...@wilshire.com>.
You might also want to look at
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27122.

"Jim Hopp" <ji...@netyourwork.com> wrote in message
news:403E33CC.5080801@netyourwork.com...
> A bug introduced in 4.1.29 causes problems with SVGs (and a similar
> problem for PDF's).
>
> See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24970 for a
> description and patch for 4.1.29.  You can download a patched .class
> file as well; read the bug log for directions.
>
> -Jim
>
> xon wrote:
>
> > Hello,
> >
> > I would like to know if there is a work around to get Tomcat 4.1 and
> > Tomcat 5.0 to load SVG pages. I tried using
> > <%@ page contentType="image/svg+xml" %>
> > and
> > <% response.setContentType("image/svg-xml"); %>
> >
> > This seems to work only in Tomcat 4.0.
> >
> > Thanks.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Can't load SVG pages

Posted by Jim Hopp <ji...@netyourwork.com>.
A bug introduced in 4.1.29 causes problems with SVGs (and a similar 
problem for PDF's).

See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24970 for a 
description and patch for 4.1.29.  You can download a patched .class 
file as well; read the bug log for directions.

-Jim

xon wrote:

> Hello,
> 
> I would like to know if there is a work around to get Tomcat 4.1 and
> Tomcat 5.0 to load SVG pages. I tried using
> <%@ page contentType="image/svg+xml" %>
> and
> <% response.setContentType("image/svg-xml"); %>
> 
> This seems to work only in Tomcat 4.0.
> 
> Thanks.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org