Yes!

Thank you William, it worked perfect first time. As you suggested, I simply
used an extension of SVG on my servlet alias to fool IE - I can stick my
hair back on now after pulling it all out yesterday!


Regards,   Billy.


-----Original Message-----
From: Lindsay, William (USPC.PCT.Hopewell)
[mailto:[EMAIL PROTECTED]]
Sent: 29 August 2001 17:18
To: [EMAIL PROTECTED]
Subject: Re: MIME types for SVG servlet


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

This email has been Virus Scanned.

Privileged/Confidential Information and/or Copyright Material may
be contained in this e-mail. The information and Material is
intended for the use of the intended addressee. If you are not
the intended addressee, or the person responsible for delivering
it to the intended addressee, you may not copy or deliver it to
anyone else or use it in any unauthorised manner. To do so is
prohibited and may be unlawful. If you receive this e-mail by
mistake, advise the sender immediately by using the reply
facility in your e-mail software.


Thank you.
Information Technology Department
Belfast City Hospital Trust

*****************************************************************

Reply via email to