tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "d~l" <ahl1jw...@sneakemail.com>
Subject RE: Tomcat 5.0.24 - JSP 2.0 SVG example (JSPX) - not opening rendered SVG object in IE 6
Date Tue, 09 Nov 2004 20:53:04 GMT
On 9 Nov 2004 at 20:04, Peter Crowther Peter.Crowther-at-melandra wrote:

> > Problem summary: 
> > Tomcat 5.0.24 JSP 2.0 SVG example does not display JSPX 
> > rendered SVG file in 
> > IE 6 browser.
> > O.k. in Opera and Mozilla.
> 
> Just check whether there's a blank line before the <?xml...?> in the
> generated file.  I had the same problem in ASPX with Adobe's 3.01 SVG
> viewer - it won't work at all unless the < is the first character in the
> returned file.
> 
> Just a guess.
> 
> 		- Peter
_________________________________________________________

Thanks for the guess .. but I have just checked the textRotate.jspx file which IE is 
prompting to be downloaded .. and there is no white space before the <? xml header 
..

here are the first few lines of textRotate.jspx ..... no leading whitespace

<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 450 500" height="500" 
width="450">
<title>JSP 2.0 JSPX</title>
<g id="testContent"><text text-anchor="middle" font-size="15" y="10%" x="50%" 
class="title">
            JSP 2.0 XML Syntax (.jspx) Demo</text><text text-anchor="middle" font-
size="15" y="15%" x="50%" class="title">
            Try changing the name parameter!</text>
<g id="rotatedText" transform="translate(225, 250)" opacity="1.0">
          <g opacity="0.95" transform="scale(1.05) rotate(15)">

.... <snip>
</svg>
__________________________________________________________

anybody got Tomcat 5.0.x  in  localhost just to try out this JSP 2.0 SVG example ?

http://localhost:8080/jsp-examples/jsp2/jspx/textRotate.jspx?name=JSPX 

d~l



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message