You can just embed a link to the svg service in your html document,
then write a second servlet that spits out svg. It's an approach I've worked
with successfully before and is pretty much necessary if you're going to
generate your svg on the fly.

        --- Pat

> -----Original Message-----
> From: Dennis Cieplik [mailto:[EMAIL PROTECTED]
> Sent: Saturday, June 04, 2005 3:20 PM
> To: [email protected]
> Subject: SVG based UI: contenttype
> 
> I'm implementing an application that uses a SVG based User interface. Some
> basic layout is done in html (login,..) The core tasks are implemented in
> svg. I would like to use a tapestry like hierarchical setup: a svg page
> with
> stackable svg components. Therefore I think a service isn't sufficient.
> For
> serving SVG I need to switch contenttype from text/html to image/svg+xml.
> I
> achieved this by implementing a SVGWriter which sets the contenttype
> accordingly.
> 
> The Internet Explorer ignores the contenttype, so I have to name the pages
> with (pagename).svg. After I throw a PageRedirectException to a html page
> the URL doesn't change and the IE treat it like svg. So I activate the
> page,
> but this doesn't work either. Validation fails but the svg file is still
> rendered. Is my approach correct or should I implement it in a different
> way? Why is the svg file rendered even if validation fails?
> 
> Thanks.
> 
> Dennis
> 
> --
> Geschenkt: 3 Monate GMX ProMail gratis + 3 Ausgaben stern gratis
> ++ Jetzt anmelden & testen ++ http://www.gmx.net/de/go/promail ++
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to