Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes XML and Related Technologies and the fly likes xsl:output media-type= Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "xsl:output media-type="image/svg+xml"" Watch "xsl:output media-type="image/svg+xml"" New topic
Author

xsl:output media-type="image/svg+xml"

Sudarsan Raman
Greenhorn

Joined: Aug 20, 2003
Posts: 12
I have a servlet which calls the XT parser to give (supposed to)
the output as an SVG image.
Now what happens is the Servlet is submitted twice.
I can see this in the access.log
The 2nd access to the server is untraceable, don't know how or why
this happens.
This behaviour is seen only when the media type is "image/svg+xml".
Other case like "text/xml" there is no second access but again what I
get is only the text (which can be copied to a .svg file and opened)
If any of U have seen any such behaviour and cracked it, pl. help.
Thanks in advance.
Sudarsan.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: xsl:output media-type="image/svg+xml"