Hi André Freire.
>Message: 7
>  Date: Wed, 7 Dec 2005 13:26:23 +0000 (GMT)
 > From: Andre Freire <[EMAIL PROTECTED]>
>Subject: SVG in JSP page

>Hello, I would like to put a SVG code in my JSP page, however, i use tehe
sintax below inmy JSP page
 ><%@ session = "true" page import = "java.util.*, classes.Rect" %>
> for access a Rect class.
> in the same JSP page i would like show a SVG object, for this, i put de
code below,
 ><%@ contentType="image/svg+xml" %>
> but, the svg object isn't show..... if someone knows how can i do
this....?

It has an example in this address:
http://www.devx.com/webdev/Article/28708/0/page/3

My suggestion is constructs a page HTML with the code:
<HTML>
<HEAD>
<TITLE>My page</TITLE>
</HEAD>
<BODY  MARGINWIDTH="0" TOPMARGIN="0" MARGINHEIGHT="0" LEFTMARGIN="0">
     <embed name="mysvg"
src=http://localhost:8080/application/my_svg.jspwidth="100%";
height="100%" type="image/svg+xml" >
</BODY>
</HTML>

my_svg.jsp:
<%@ page import="java.util.*" contentType="image/svg-xml;charset=utf-8" %>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
  "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd";>
<svg  a3:scriptImplementation="Adobe" xmlns:a3="
http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"; xmlns:xlink="
http://www.w3.org/1999/xlink"; xmlns="http://www.w3.org/2000/svg"; >

<% ....source code Java...%>
.
.
.</svg>

I wait to have helped.

Best Regards, Carlos FG
--
****
"E não há salvação em nenhum outro; porque abaixo do céu não existe nenhum
outro nome, dado entre os homens, pelo qual importa que sejamos salvos"(Atos
4:12)
JESUS CRISTO
****
Carlos F. Gonçalves - http://www.javanoroeste.com.br -
http://www.webgis.com.br
Know the Metropolitan Region of São Paulo (Conheça a Região Metropolitana
de São Paulo).
http://www.mapas.centrodametropole.org.br/servidormapas/html/index.html
Know the state of São Paulo
http://www.mapas.centrodametropole.org.br/servidormapas_seade/html/index.html
For the good operation of this application, it is necessary to have
installed in yours computer the plug-in Adobe SVG Viewer (Para o bom
funcionamento deste aplicativo, é necessário ter instalado em seu
http://www.adobe.com/svg/viewer/install/main.html
**


[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/1U_rlB/TM
--------------------------------------------------------------------~-> 

-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to