hs.lang = { cssDirection: 'ltr', loadingText: 'loading...', loadingTitle: 'click to cancel', focusTitle: 'click to bring to front', fullExpandTitle: 'expand to original size', creditsText: 'powered by Highslide JS', creditsTitle: 'visit Highslide JS website', previousText: 'previous', nextText: 'next', moveText: 'move', closeText: 'close', closeTitle: 'close (ESC)', resizeTitle: 'resize', playText: 'play', playTitle: 'play slideshow (SPACEBAR)', pauseText: 'pause', pauseTitle: 'pause slideshow (SPACEBAR)', previousTitle: 'previous (ARROW LEFT)', nextTitle: 'next (ARROW RIGHT)', moveTitle: 'move', fullExpandText: 'fullscreen', number: 'picture %1 of %2', restoreTitle: 'Click to close image, click und drag to move. Use ARROW keys for previous and next.' };
Inicio > General > MySQL - Netbeans

MySQL - Netbeans

martes, 12 de enero de 2010 Dejar un comentario Ir a comentarios

Primero creamos una BD llamada en este caso persistencia, y una tabla (por el momento) llamada estudiante.

Para que aparezca nuestro mapa de google escribimos el siguiente código:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAItmGOOWMATeNPPtTtijirhR-fISyzToDSzqXOaLLC8suCdwDiBTdP3cQ_557h_feZH57rO5xmvrxMw&sensor=false"
type="text/javascript"></script>
<script type="text/javascript">

function initialize() {
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(-2.200623, -79.921678), 11);
map.setUIToDefault();
}
}
</script>
</head>
<body onload="initialize()" onunload="GUnload()">
<div id="map" style="width: 500px; height: 300px"></div>
<form action="Servlet" method="get">
<input type="submit" value="Consultar">
</form>
</body>
</html>

Categories: General Tags:
  1. Sin comentarios aún.
  1. Sin trackbacks aún.

Ir a la barra de herramientas