Billy
We generate PDF dynamically, and in order to fool the Adobe Reader....We mask
the Servlet with a Servlet Alias that has a .PDF
extension...so...http://myurl/myservletpath/xtract.pdf really
points to GetPDFServlet.class. This might work for SVG by creating a
GetSVGServlet.class which has a xtract.svg Alias ???
Bill
-----Original Message-----
From: Graham, Billy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 29, 2001 12:01 PM
To: [EMAIL PROTECTED]
Subject: MIME types for SVG servlet
Hi,
I'm fairly new to the field of servlet, web and SVG programming so my
question may be basic - but it's still causing me much grief at the moment.
I have searched the archives of this group and the W3C web site but can't
find an answer. I know my problem isn't strictly to do with servlets but is
closely related, so I hope someone can help!
My problem is...
I am wanting to send SVG from a web server (I'm using a Java Servlet) to a
client browser (MSIE5.5) and have it display as a graphic. Currently it is
displaying in IE as an hierarchical XML tree-structure. Can I cure this
problem by setting the MIME type sent from the servlet to another setting
(currently I'm using "image/svg+xml" as defined on the W3C site)?
The SVG I'm sending via the web server displays OK as an SVG image when
simply saved in a text file (with a ".SVG" extension), i.e. when I
double-click on this text file it opens up in MSIE and the SVG displays OK.
Any suggestions would be most useful.
Many thanks.
Billy.
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html