Mapviewer demo mapinit.jsp with svg

hi,
the demo shows me per tooltip the number of a highway or the data about a county.
how can i in a jsp-file get the highlighted data out of the svg-map, for example:
if i get a tooltip for a highway and i click the mouse, i want to (onclick) get the highwaynumber. all i know now is that i can get the rowid of the selected feature.
function my_feature(theme, id, x, y)
alert('my_feature 1');
alert(theme);
alert(id);
s_str = map.window.getinfo(theme, id); --> error
alert('my_feature 2');
is getinfo the right method?
thomas

getInfo is the right method for your purpose. However, getInfo returns the whole info tip string and you need to extract the attribute that you need from it.

Similar Messages

  • Mapviewer demo mapinit.jsp with svg doesn't work with jdeveloper

    hi ng,
    i tried the source code for the svg-sample in jdeveloper and first of all jdeveloper dislikes the line "<embed id="map" src="<%= mv.getGeneratedMapImageURL() %>...". after "embed" a green line is to be seen.
    When i start the sample the map looks okay, but when i want to hide a theme (or zoom), i get the internet_explorer-message "error on the page".
    "themeVisibleArray[idx]='false';" goes right but the next line occurs the error: "map.window.hideTheme(theme) ;"
    map is not known at this place, it seems to me.
    who can help (please)?
    greetings
    thomas

    hi,
    i still have a problem. i can work on an existing svg-map but not on a just generated svg-map. zoomin2 works.
    here's the code:
    <%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/spatial/mvtaglib.tld" prefix="mapviewer"%>
    <%@ page contentType="text/html;charset=UTF-8"%>
    <%@ page import="java.io.*"%>
    <%@ page import="java.net.*"%>
    <%@ page import="java.util.*"%>
    <%@ page import="oracle.lbs.mapclient.*"%>
    <%@ page import="oracle.lbs.mapcommon.MapResponse"%>
    <%@ page import="java.awt.Dimension"%>
    <%
    String sizeStr = request.getParameter("initsize") ;
    String scaleStr = request.getParameter("scale") ;
    String cxStr = request.getParameter("centerX") ;
    String cyStr = request.getParameter("centerY") ;
    String baseMap = request.getParameter("basemap");
    String _width = request.getParameter("width") ;
    String _height = request.getParameter("height") ;
    String _infoon = request.getParameter("infoon") ;
    String action = request.getParameter("action");
    boolean infoon = false;
    boolean recenter = false ;
    boolean zoomin = false ;
    boolean zoomin2 = false ;
    int width = 600 ;
    int height = 400 ;
    if(_width!=null && _height!=null)
    try
    width = Integer.parseInt(_width) ;
    catch(Exception e){}
    try
    height = Integer.parseInt(_height) ;
    catch(Exception e){}
    if(baseMap==null) baseMap = "demo_map";
    double size = 0.2 ;
    try
    size = Double.parseDouble(sizeStr) ;
    catch(Exception e){}
    double scale = 2 ;
    try
    scale = Double.parseDouble(scaleStr) ;
    catch(Exception e){}
    double cx = -122.2615 ;
    try
    cx = Double.parseDouble(cxStr) ;
    catch(Exception e){}
    double cy = 37.5266 ;
    try
    cy = Double.parseDouble(cyStr) ;
    catch(Exception e){}
    String dataSrc = request.getParameter("datasrc");
    boolean newSession = false;
    // retrieve mapviewer client handle from session
    MapViewer mv = (MapViewer) session.getAttribute("mvhandle");
    boolean sessionExpired = false ;
    if(mv==null || request.getParameter("initflag")!=null)
    if(request.getParameter("initflag")==null)
    sessionExpired = true ;
    else
    //initializes MapViewer bean instance
    newSession = true;
    String mvURL = request.getParameter("mvurl");
    // create a new mapviewer client handle
    mv = new MapViewer(mvURL);
    mv.setDataSourceName(dataSrc);
    mv.setImageFormat(MapResponse.FORMAT_SVGZ_URL);
    /* the javascript function svgClicked will be called when the svg map
    is clicked. svgClicked is defined in this page, it recenters or zoomins
    the map. */
    mv.setSVGOnClick("svgClicked") ;
    /* initial themes (from an existing base map) */
    mv.addThemesFromBaseMap(baseMap);
    mv.setSVGZoomLevels(3);
    /* disable the builtin navigation bar */
    mv.setShowSVGNavBar(false) ;
    mv.setMapTitle(" MAP TITLE ");
    mv.setMapLegend(
    "<legend bgstyle=\"fill:#ffffff;stroke:#ff0000\" profile=\"MEDIUM\" position=\"SOUTH_EAST\">"+
    " <column>"+
    " <entry text=\"Map Legend\" is_title=\"true\" />"+
    " <entry style=\"M.CITY HALL 3\" text=\"cities\" />"+
    " <entry style=\"M.CITY HALL 4\" text=\"big cities\" />"+
    " <entry style=\"L.PH\" text=\"interstate highway\" />"+
    " </column></legend>");
    mv.setDeviceSize(new Dimension(width, height));
    session.setAttribute("mvhandle", mv); // keep client handle in the session
    String themes[] = new String[0] ;
    if(!sessionExpired)
    themes = mv.getThemeNames() ;
    mv.setCenter(cx, cy);
    mv.setSize(size);
    mv.setSVGZoomRatio(scale) ;
    mv.setSVGShowInfo(infoon);
    String[] checkedThemes = request.getParameterValues("_mthemev_");
    if(checkedThemes!=null && checkedThemes.length>0)
    Hashtable checked = new Hashtable(30) ;
    for(int i=0; i<checkedThemes.length; i++)
    checked.put(checkedThemes, checkedThemes[i]) ;
    for(int i=0; i<themes.length; i++)
    if(checked.get(themes[i])!=null)
    mv.setThemeVisibleInSVG(themes[i], true);
    else
    mv.setThemeVisibleInSVG(themes[i], false) ;
    mv.run() ;
    %>
    <html>
    <head>
    <title>untitled</title>
    <%-- <embed id="map" name="map" src="<%= mv.getGeneratedMapImageURL() %>" width="<%= width %>" height="<%= height %>"></embed> --%>
    <%-- src="images/omsmap3_56.svgz" --%>
    <%-- src="<%= mv.getGeneratedMapImageURL() %>" --%>
    <%-- <object name="map" data="images/test_svg.svgz" type="image/svg+xml" width="800" height="600" standby="Warte noch ein Weilchen..."> --%>
    <%-- </object> --%>
    <script type="text/javascript">
    var mapSize = <%= size %> ;
    var scale = <%= scale %> ;
    var width=<%= width%> ;
    var height=<%= height%> ;
    var rcx = <%= cx %> ;
    var rcy = <%= cy %> ;
    var cx = <%= width/2%> ;
    var cy = <%= height/2%> ;
    var disabled = true ;
    // var themeVisibleArray = ...
    var info = <%= infoon %> ;
    var legend = false ;
    var clickZoomin = <%= zoomin %> ;
    var clickRecenter = <%= recenter %> ;
    function zoomin()
    map.window.setZoomRatio(1.1);
    function zoomin2()
    map2.window.setZoomRatio(1.1);
    </script>
    </head>
    <body>
    <P>
    <form method="GET" action="test2.jsp">
    <P>Name:
    <input type="text" size="60" name="name" value="<%= mv.getGeneratedMapImageURL() %>"/>
    <input type="text" size="60" name="datasrc" value="<%= request.getParameter("datasrc") %>"/>
    <input type="text" size="60" name="basemap" value="<%= request.getParameter("basemap") %>"/>
    <input type="text" size="60" name="centerX" value="<%= request.getParameter("centerX") %>"/>
    <input type="text" size="60" name="centerY" value="<%= request.getParameter("centerY") %>"/>
    <input type="text" size="60" name="initsize" value="<%= request.getParameter("initsize") %>"/>
    <input type="text" size="60" name="width" value="<%= request.getParameter("width") %>"/>
    <input type="text" size="60" name="height" value="<%= request.getParameter("height") %>"/>
    <input type="text" size="60" name="type" value="<%= request.getParameter("type") %>"/>
    </P>
    <P>
    <input type="SUBMIT" value="Submit"/>
    </P>
    </form>
    </P>
    <table>
    <tr>
    <td colspan="2">
    <I>URL</I>[<B><%=mv.getGeneratedMapImageURL()%></B>]
    </td>
    </tr>
    </table>
    <%-- images/test_svg.svgz --%>
    <embed src="<%= mv.getGeneratedMapImageURL() %>" name="map" id="map" width="500" height="500" type="image/svg+xml" />
    <embed src="images/test_svg.svgz" name="map2" id="map2" width="500" height="500" type="image/svg+xml" />
    <%-- <embed id="map" src="<%= mv.getGeneratedMapImageURL() %>" width="<%= width %>" height="<%= height %>"></embed> --%>
    <FORM name="form" action="test2.jsp" method="GET" >
    <input type="radio" name="action" value="zoomin" <%= zoomin?"checked":"" %> onclick="zoomin()" ><B>Zoom In</B>
    <input type="radio" name="action2" value="zoomin2" <%= zoomin2?"checked":"" %> onclick="zoomin2()" ><B>Zoom In2</B>
    <input type="hidden" name="width" value="<%=width%>"/>
    <input type="hidden" name="height" value="<%=height%>"/>
    <input type="hidden" id="cx" name="centerX" value=""/>
    <input type="hidden" id="cy" name="centerY" value=""/>
    <input type="hidden" id="size" name="initsize" value=""/>
    <input type="hidden" id="scale" name="scale" value=""/>
    <input type="hidden" id="infoon" name="infoon" value="<%=(infoon?"yes":"no")%>" />
    </FORM>
    <br>
    <P> 
    </P>
    </body>
    </html>

  • MapViewer Demo - mapclient.jsp

    Hi,
    I have installed mapviewer demo on a standalone OC4J. I added a datasource "mvdemo". I can get other jsp's to work: jview.jsp, mapinit.jsp and tagmap.jsp but when I go to mapclient.jsp and enter the datasource field along with Map Center X and Y, I just get a blue blank screen. Do I need to enter anything for Map Base field. Also, I am not getting any error messages.
    On OC4J window, I get only message that says "no theme to render".
    here is the request:
    <?xml version="1.0" standalone="yes"?>
    <map_request
    datasource="mvdemo"
    width="500"
    height="375"
    bgcolor="#a6caf0"
    antialiase="false"
    format="GIF_URL">
    <center size="100.0">
    <geoFeature>
    <geometricProperty typeName="center">
    <Point>
    <coordinates>-74.0,43.0</coordinates>
    </Point>
    </geometricProperty>
    </geoFeature>
    </center>
    </map_request>
    and response:
    <?xml version="1.0" encoding="UTF-8"?>
    <map_response>
    <map_image>
    <map_content url="http://localhost:8888/mapviewer/images/omsmap2_11.gif?refresh=9095605334584782896" />
    <box srsName="default">
    <coordinates>
    null </coordinates>
    </box>
    <xfm matrix="1.0 0.0 0.0 1.0 0.0 0.0" />
    <WMTException version="1.0.0" error_code="SUCCESS">
    </WMTException>
    </map_image>
    </map_response>
    Also, here is more info on what I am using:
    mapviewer for 10.1.2
    Stand alone OC4J - J2EE 10g (9.0.4.0.0)
    Database - 10g Release 1
    Thanks,
    -A

    I do not see basemap in your XML request. You are trying to see entire US extents. Try with smaller size such 1.00.
    The following is the XML request I used.
    <?xml version="1.0" standalone="yes"?>
    <map_request
    title="test"
    basemap="demo_map"
    datasource="mvdemo"
    width="500"
    height="375"
    bgcolor="#a6caf0"
    antialiase="false"
    format="GIF_URL">
    <center size="100.0">
    <geoFeature>
    <geometricProperty typeName="center">
    <Point>
    <coordinates>-74.0,43.0</coordinates>
    </Point>
    </geometricProperty>
    </geoFeature>
    </center>
    </map_request>
    The following is the XML response.
    <?xml version="1.0" encoding="UTF-8"?>
    <map_response>
    <map_image>
    <map_content url="http://mycomputer:8888/mapviewer/images/omsmap35_110.gif?refresh=8522609524205187237" />
    <box srsName="default">
    <coordinates>
    -140.66666666666666,-7.0 -7.333333333333343,90.0 </coordinates>
    </box>
    <xfm matrix="0.2666666666666666 0.0 0.0 -0.2666666666666666 -140.66666666666666 91.49999999999999" />
    <WMTException version="1.0.0" error_code="SUCCESS">
    </WMTException>
    </map_image>
    </map_response>

  • Unable to get the SVG demos to work in mapinit.jsp

    Hi forum
    I've played a bit around with the Mapviewer demos for Oracle Maps. I have loaded the demo data in a database and done the setup as described in the setup. Everything works - except all demos related to SVG, like mapinit.jsp in this case. I've tried both version 10.1.3.1 and 10.1.3.3. I've tried this in misc. browsers, and here's what happens in each
    IE7 + Adobe SVG Viewer: The SVG window is blank
    Firefox 3: For Mapviewer 10.1.3.1, displays a "Malformed XML document error". For Mapviewer 10.1.3.3, wants to install an "Unknown plugin" which it then can't find, and doesn't display anything.
    Google Chrome: Outputs an XML document as text in the SVG window
    I have tried adding an entry to mime-types like "image/svg+xml svgz", but that didn't seem to change anything. No browser wants to display the SVG correctly.
    Choosing "Regular image" for the same demo data works fine.
    How do you get this to work? What am I missing? The appserver runs 10.1.3.4.
    Thanks in advance,
    Jacob

    Hi Jacob,
    Since Adobe dropped support of their SVG viewer, MapViewer SVG support has not been updated with the new features added. Therefore, do not expect to get in SVG, what you currently get with other formats. The minimum support initially added for SVG, is still there. We will check the demos.
    Different browsers provider different levels (some rather incomplete) of support for SVG, and scripting with SVG is also done differently on different browser/platform, so this makes difficult to keep SVG support updated. You experienced these differences in your tests with different browsers.
    Joao

  • Mapviewer demo's

    Hi,
    I'm trying to get the mapviewer demo's up and running, but I can't find instructions to do this.
    Oracle spatial and mapviewer are new to me, so maybe anyone can tell me how to do this.
    I've installed oracle 10g database and standalone mapviewer.
    I can visualize data from the demo-dataset for user scott.
    But when I click (on the mapviewer homepage) on one of the examples my browser gives the usual 'the page cannot be displayed' message.
    Do I need to install the demo's in some way, or place the jsp files in a certain directory??

    Suggest just doing a search within this forum, that answer has been written about 1000 times. Try this: http://www.oracle.com/technology/software/products/mapviewer/index.html
    try the QuickStart Kit and install the Demo's.
    This will provide you with all of your answers.
    Hope it helps.
    -Scott

  • Mapviewer demo Problem

    I have seen a number of posts regarding this issue, but none seem to have solved it. I have installed OC4J, I have installed and imported the mapviewer demo data. I get all of the demos to come up but all I get is a blue screen with the words "Oracle Map viewer Demo" I installed the data with the mvdemo user not as scott/tiger Does that matter? Not sure what else it could be as I am getting no errors anywhere.
    Thanks in advance!
    -Scott

    Good Morning LJ,
    I have run that, results are below. I get the same problem, just a blus screen then when I click on the screen I get 500 Internal Server Errors.
    JServer Release 9.2.0.1.0 - Production
    SQL> @mvdemo.sql
    1 row created.
    1 row created.
    1 row created.
    1 row created.
    1 row created.
    Commit complete.
    counties a, terr_counties b
    ERROR at line 6:
    ORA-00942: table or view does not exist
    1 row created.
    Commit complete.
    insert into user_sdo_styles select * from styles
    ERROR at line 1:
    ORA-00942: table or view does not exist
    insert into user_sdo_themes select * from themes
    ERROR at line 1:
    ORA-00942: table or view does not exist
    insert into user_sdo_maps select * from maps
    ERROR at line 1:
    ORA-00942: table or view does not exist
    Commit complete.
    create index STATES_SDX on STATES(GEOM)
    ERROR at line 1:
    ORA-00942: table or view does not exist
    create index COUNTIES_SDX on COUNTIES(GEOM)
    ERROR at line 1:
    ORA-00942: table or view does not exist
    create index INTERSTATES_SDX on INTERSTATES(GEOM)
    ERROR at line 1:
    ORA-00942: table or view does not exist
    create index CITIES_SDX on CITIES(LOCATION)
    ERROR at line 1:
    ORA-00942: table or view does not exist
    create index TERRITORIES_SDX on TERRITORIES(GEOMETRY)
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL>
    500 Internal Server Error
    java.lang.NullPointerException     at oracle.lbs.mapclient.MapViewer.pan(MapViewer.java:3726)     at demo.jview._jspService(_jview.java:152)     [SRC:/demo/jview.jsp:322]     at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:347)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)     at java.lang.Thread.run(Thread.java:534)

  • Mapviewer demo Import error ( imp-00980 )

    I'm encountering an import problem when attempting to import the mvdemo.dmp sample data that is included with the Mapviewer demo into Oracle 9i PEdition. Is there a problem with the the EXP coming from Oracle v8? Here is a sample of the error log output:
    Export file created by EXPORT:V08.01.07 via conventional path
    import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    export client uses US7ASCII character set (possible charset conversion)
    export server uses US7ASCII NCHAR character set (possible ncharset conversion)
    . importing SCOTT's objects into SCOTT
    . . importing table "STYLES" 250 rows imported
    . . importing table "THEMES" 7 rows imported
    . . importing table "MAPS" 2 rows imported
    . . importing table "CITIES" 195 rows imported
    . . importing table "COUNTIES" 3230 rows imported
    . . importing table "INTERSTATES" 239 rows imported
    . . importing table "STATES" 56 rows imported
    IMP-00017: following statement failed with ORACLE error 980:
    "BEGIN "
    "execute immediate 'INSERT INTO USER_SDO_GEOM_METADATA values (''CITIES'','"
    "'LOCATION'',mdsys.SDO_dim_array(MDSYS.SDO_DIM_ELEMENT(''X'',-180,180,.00000"
    "005),MDSYS.SDO_DIM_ELEMENT(''Y'',-90,90,.00000005)),NULL) ' ; "
    "COMMIT; END;"
    IMP-00003: ORACLE error 980 encountered
    ORA-00980: synonym translation is no longer valid
    ORA-06512: at line 2
    IMP-00088: Problem importing metadata for index CITIES. Index creation will be skipped
    I have discovered that the following view does not exist in the db:
    USER_SDO_GEOM_METADATA
    Help would be appreciated.
    -Peter

    Try connecting to the database as mdsys.
    Look for a table called sdo_geom_metadata_table, and if it is there see if there
    is anything in it. If there isn't anything in it, or it isn't there, try executing:
    prvtgmd.plb from ORACLE_HOME/md/admin. It looks like the
    views might not have been created correctly.
    Dan

  • Mapviewer demo v good - are you willing share the cartographic design?

    This mapviewer demo is good and has good cartographic design at most levels http://elocation.oracle.com/elocation/ajax/
    We are building a Mapviewer applications with the same base map data in Australia. Rather than re-inventing the wheel would the custodians of this web app (Oracle?) be prepared to share the cartographic design elements used here so that we (and I suspect many others) could utilise these to more quickly get their Mapviewer app up and running and looking good?
    I think copies of user_sdo_themes and user sdomaps that are particular to this app would suffice - if there is a chance that these could be made available it would be very much appreciated.
    Thank you.

    We will be staging the current eLocation style and themes up on our MapViewer OTN page shortly.
    I will post a point here once we stage them.
    thanks
    Steve
    if you need them sooner email me.

  • Mapviewer-demo: no map viewed

    Hi,
    I imported the Mapviewer demo in a new schema,
    and deployed the Mapviewer on stand alone OC4J.
    I can start and configure the Mapviewer how described in the guide
    without errors but when i try to submit a map request using the sample file included in the demo (mapclient.jsp)
    the ff error appeared in the request/response/Msg:
    xml_response=<?xml version="1.0" encoding="UTF-8"?><oms_error>Message:[XMLHelper] error in parsing xml map request.
    Thu Oct 09 16:56:29 PDT 2003
    Machine Node Name: ibmdemo
    Severity: 0
    Description:
    Message:[XMLHelper] no geofeature defined for CENTER.
    Thu Oct 09 16:56:29 PDT 2003
    Machine Node Name: ibmdemo
    Severity: 0
    Description:
         at oracle.spatial.mapserver.core.XMLHelper4Mapper.convert(XMLHelper4Mapper.java:167)
         at oracle.spatial.mapserver.core.XMLHelper4Mapper.convert(XMLHelper4Mapper.java:67)
         at oracle.spatial.mapserver.oms.getMapRequest(oms.java:374)
         at oracle.spatial.mapserver.oms.doPost(oms.java:178)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:720)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:305)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:742)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:248)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    </oms_error>
    thanks!
    gemma

    hi,
    found one mistake, still the map is not shown.
    ist must be...
    <script type="text/Javascript" src=...
    thanx
    tom

  • JSP and SVG

    Hi all,
    I have a problem by generating and manupulating SVG with JSP:
    I generated a SVG file (for example a.jsp) with JSP using <%@ page contentType="image/svg+xml" %>.
    And then i want to embed this generated SVG image into a html page using
    <embed src="a.jsp" width="300" height="300"/>
    But it doesn't work. Can anyone help me to solve this problem?
    Thanx in advance!

    This problem has been solved. Thanks for your help, jleech!
    I must add type="image/svg+xml" into the tag's attribute list, as
    <embed src="index.jsp" width="300" height="300" type="image/svg+xml">
    jleech, do you know Batik well and have some experience with generating and manipulating SVG using Batik?
    I tried to use Batik, but his Java Doc ist to bad, there are no informations about the classes and his fields and methods, so that i can't understand them. For example, what does this class "SVGPathSegArcRel" mean and how can i use it? i can't get a good overview about the useful classes for my need (for example there are over 100 classes only in the package org.apache.batik.dom.svg).
    Besides the Batik i can also see a svg-file as a normal xml, so that i can use generic DOM to manipulate it.
    Can you tell me if there are any advantages to use Batik? Is it much more efficient and easier to generate and manipulate SVG with Batik than with generic DOM? Is it with more complexity to use generic one in compare to Batik?

  • How do I use an Edge Animate project with SVG files in InDesign for DPS output?

    Is there any way to include an Edge Animate web content using .svg files in InDesign for output to DPS?
    Edge Animate works great with InDesign, except for when you're using SVG files. I've worked with SVG files on the web successfully (writing .htaccess files and such), but it seems like InDesign doesn't like them.
    This is pretty important because I don't want to have to design multiple renditions on the DPS suite. Currently I have it setup as a PDF format (DPS) and that scales all of the vector-based type perfectly. It would be wonderful if the animations could also be in a vector format so that when the iPad (3) users see the designs, they will scale naturally through the PDF framework.
    Any advice would be invaluable.
    Thanks!

    moved to the DPS forum....

  • Error while running JSP with custom tag

    I am trying to run a jsp with a tag and I am getting the following error when I run the jsp:
    "Unable to open taglibrary /WEB-INF/jsp/mytaglib.tld : Parse Error in the tag library descriptor: External parameter entity "%(DOCTYPE);" has characters after markup."
    I have no idea what this is, can anyone help me here?
    tx
    -AB

    Its difficult to tell without looking at your TLD file i.e. mytaglib.tld
    However, a guess is that you may be refering to an invalid or otherwise corrupted DTD from your TLD.
    Check that out.
    The official DTD for TLDs in JSP 1.1 is http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd
    and the official DTD for TLDs in JSP 1.2 is http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd

  • Stuck with svg file !....

    hi every user
    i stuck with svg file
    after import external svg file with layers ( created with adobe Ai ) in An , how can i modify color and strok , path  , and also animate that !?... without using any .js

    Hi sudeshna sarkar
    i tried that , the EdgeCommons is great but Its application to work with Svg files is limited ,i tried to use Snap.Svg and finally found true way .
    but have problem here : when i used that without any goal div , work perfectly in every modern browser but make svg file outer of the stage !!! , and with a goal div that work only in FF , IE and stuck in chrome and dont work correctly !!!!
    In the annex link i have sent the test files .
    i tried everything to fix this but I am stuck and cant find where's the wrong ! pls help me to solve this problem
    https://www.dropbox.com/s/w0xwrcx4zz0mbkr/Snap-svg.zip
    thanks in advance

  • Dynamic Themes in mapinit.jsp

    Hi ,
    How can I pass dynamic themes using mapinit.jsp ,
    For example alongwith all the parameters like map size , basemap etc..
    I want to give a new date parameter . based on the given date I need to put a where clause in my themes like where date=parameter.date.
    I have salesperson whose location changes on daily basis and user need to see their location on date basis , for example where all the salesman were on 28-10-2006 and where all the sales man were on 25-10-2006 and so on ..
    Please help

    Thanks a lot that worked out.But still as I have my complete requirement is I need to display set of radio buttons when I click on this link.
    Can this be possible by javascript.Can anyone give me an idea of how to do this. The actual scenario is like I get the a list of 30 dates and their corresponding radio buttons from a webservice. What I do is I read all the values from that webservice and convert them into text( actually I get the codes) and need to display that as a calendar to the user and when they click on a particular date { I copied a calender from the net and placed that code in my jsp to display the calender)
    the set of radio buttons should be displayed underneath the calender.That is both the calender and the list of radio buttons should be on the same page.
    Thanks in advance.
    Pavan.

  • Problem in connecting JSP with Oracle 9i.

    Hi,
    I am having problem in connecting JSP with Oracle 9i.
    I am using windows XP and my JDK version is 1.4. For executing JSP I am using
    "jakarta-tomcat-5.5.4-preconfigured". My database name is global.
    I have set java_home, j2ee_home, oracle_home, path, classpath as follows:
    j2ee_home=c:\sun\appserver
    java_home=c:\sun\appserver\jdk
    oracle_home=C:\oracle\ora92
    path=C:\Sun\AppServer\bin;C:\Sun\AppServer\jdk\bin;C:\oracle\ora92\bin
    classpath=C:\Sun\AppServer\lib\j2ee.jar;C:\oracle\ora92\jdbc\lib\ojdbc14.jar;C:\oracle\ora92\jdbc\lib\nls_charse
    t12.zip
    My code is as follows:
    <%@ page language="java" %>
    <%@ page import ="java.sql.*"%>
    <%
    try
    DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
    Connection conn = DriverManager.getConnection ("jdbc:oracle:oci8:@global", "scott", "tiger");
    catch(SQLException e)
    out.println(""+e);
    out.println("Connected");
    %>
    I tried other program:
    <%@ page language="java" %>
    <%@ page import ="java.sql.*"%>
    <%
    Class.forName("oracle.jdbc.driver.OracleDriver");
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:global","scott","tiger");
    out.println("Connected");
    %>
    I am getting following error:
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 5 in the jsp file: /jsp/oracle.jsp
    Generated servlet error:
    oracle.jdbc.OracleDriver cannot be resolved or is not a type
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
         org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:389)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    Thanking you in advance,
    Anurag

    maneesh108 wrote:
    hi this is maneesh1) Read the thread it has been answered.
    2) The thread is very old. Don't resurrect old threads.
    I'm locking this zombie thread.
    Kaj

Maybe you are looking for

  • How to see open files on server

    I want to be able to see which files that are open on my server by my users. Is there a tool or utility to see this? Ive tried lsof but i find that not usable.

  • Where can I find free offline games to download fo...

    Hi. I have just passed on an old Nokia 6700 to my son as a mobile phone for emergencies etc. He is 11 years old and also wants to play some games. However, almost every game that I have tried to download for him requires internet access which could b

  • Unable to delete extra tracks that vocal tracking created while recording vocals.

    I Was tracking some vocals, so I selected the vocal tracking preset. It created more tracks every time I did a re take, even though I erased the unwanted take. Now I am left with 3 extra sub tracks under my vocal track. I would love to condense it, j

  • Tax Detail on PO

    Hoping someone may be able to shed some light on the subject. I'm trying to provide a detail on the PO Print Layout Design of what the amount of tax per applicable tax jurisdiction. Not sure how to attack this or if it is possible

  • File disappeared upon moving to iCloud in new Numbers

    Hello, I'm working on a Mac, and have the new Yosemite. I was working on a document in Numbers and wanted to share it over iCloud. I clicked the share menu and clicked Move the document to iCloud in order to be able to share (have done this previousl