conversion of jsp to asp.net

Discussion in 'Software' started by sk0c8336, Mar 7, 2007.

  1. sk0c8336

    sk0c8336

    Joined:
    Mar 7, 2007
    Messages:
    1
    PLEASE HELP ME in conversion from jsp toasp.net. the code to be conveted is as follows:
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">

    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>

    <f:view>

    <ui:page binding="#{Mashup2.page1}" id="page1">

    <ui:html binding="#{Mashup2.html1}" id="html1">

    <ui:head binding="#{Mashup2.head1}" id="head1">

    <ui:link binding="#{Mashup2.link1}" id="link1" url="/resources/stylesheet.css"/>

    <script language="javascript"

    src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAKQ6MBSFmFHw96DBMDPG8UBR-85g8wI_YfHzzgBZswbnYsxI1CxTUWZMd-dzINcCLo0dED9se1l6UBA" type="text/javascript">

    var fake=null;

    </script>

    <script language="javascript" type="text/javascript">

    function load() {

    if (GBrowserIsCompatible()) {

    var map = new GMap2(document.getElementById("map"));

    map.addControl(new GSmallMapControl());

    map.addControl(new GMapTypeControl());

    GEvent.addListener(map, "moveend", function() {

    var center = map.getCenter();

    document.getElementById("mymessage").innerHTML = center.toString();

    });

    map.setCenter(new GLatLng(18.53, 73.85), 15);

    map.openInfoWindow(map.getCenter(),

    document.createTextNode("Hello, world"));

    }

    }

    </script>

    </ui:head>

    <ui:body binding="#{Mashup2.body1}" id="body1" onLoad="load()" onUnload="GUnload()" style="-rave-layout: grid">

    <ui:textField binding="#{Mashup2.textField1}" id="textField1" style="left: 0px; top: 360px; position: absolute; width: 480px"/>

    <div id="map" style="height: 288px; left: 0px; top: 0px; width: 480px"></div>

    <div id="mymessage" style="height: 22px; left: 0px; top: 312px; position: absolute; width: 478px"></div>

    </ui:body>

    </ui:html>

    </ui:page>

    </f:view>

    <ui:form binding="#{Mashup2.form1}" id="form1"/>

    </jsp:root>

    THANK YOU IN ADVANCE.
     
    sk0c8336, Mar 7, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?c2FuanU=?=

    information about asp ,oracle,asp.net certification?

    =?Utf-8?B?c2FuanU=?=, May 18, 2005, in forum: Microsoft Certification
    Replies:
    1
    Views:
    719
    Bob Christian
    May 18, 2005
  2. Zabron Muyambo

    Easy Moving from ASP to ASP.NET???

    Zabron Muyambo, Oct 26, 2004, in forum: MCSD
    Replies:
    7
    Views:
    553
    Zabron Muyambo
    Oct 27, 2004
  3. thehobbit
    Replies:
    0
    Views:
    3,962
    thehobbit
    Nov 22, 2006
  4. london1919
    Replies:
    1
    Views:
    3,113
    Lawrence Garvin \(MVP\)
    Dec 8, 2008
  5. jerryantony
    Replies:
    0
    Views:
    1,857
    jerryantony
    Nov 4, 2009
Loading...

Share This Page