Hello Everyone,
when migrating my JSF 2.0 app from tomcat 6.0.32 to the version 7.0.19 I've
encountered the following encoding issue.
I have a simple JSF (xhtml) page with an embedded SVG image in it object
type=image/svg+xml data=encoding.svg. In the web.xml file there is a
faces servlet
2011/7/30 honyk j.tosov...@email.cz:
Hello Everyone,
when migrating my JSF 2.0 app from tomcat 6.0.32 to the version 7.0.19 I've
encountered the following encoding issue.
I have a simple JSF (xhtml) page with an embedded SVG image in it object
type=image/svg+xml data=encoding.svg. In the
In tomcat 6 there is no difference between these two links
http://drifted.in/encoding/encoding.svg
http://drifted.in/encoding/faces/encoding.svg
but in Tomcat 7 I am getting different results. The first is Ok while
the second, processed by faces servlet, breaks the encoding.
You
2011/7/30 honyk j.tosov...@email.cz:
In tomcat 6 there is no difference between these two links
http://drifted.in/encoding/encoding.svg
http://drifted.in/encoding/faces/encoding.svg
but in Tomcat 7 I am getting different results. The first is Ok while
the second, processed by faces
Thanks for that hint.
http://drifted.in/encoding/encoding.svg returns HTTP Content-type
image/svg+xml (according to Firebug)
but http://drifted.in/encoding/faces/encoding.svg returns
image/svg+xml;charset=ISO-8859-1
In Tomcat 6 powered web I am getting just 'image/svg+xml' in both
honyk wrote:
Thanks for that hint.
http://drifted.in/encoding/encoding.svg returns HTTP Content-type
image/svg+xml (according to Firebug)
but http://drifted.in/encoding/faces/encoding.svg returns
image/svg+xml;charset=ISO-8859-1
In Tomcat 6 powered web I am getting just 'image/svg+xml' in both