🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.lenguajes.java
Article #493

Re: Páginas jsp y javascript.

#493
From: Manuel
Date: Mon, 14 May 2007 21:07
100 lines
4726 bytes
On May 14, 12:06 pm, Manuel <mfc1...@gmail.com> wrote:
> On May 10, 1:17 pm, Eduardo Yáñez Parareda
>
> <eduardo.yanezNOS...@NOSPAMgmail.com> wrote:
> > No sé, no me cuadra mucho lo que dices. Este código que dices que no te funcionaba...
> > <script>
> > alert("hola mundo");
> > </script>
>
> > funciona en cualquier navegador :)
>
> Buenas de nuevo.
>
> Durante el fin de semana he hecho algunas pruebas más y he encontrado
> lo que produce el fallo pero no se aún por que falla.
>
> Resulta que el fallo es provocado por incluir un fichero externo con
> funciones js. Si quito este "include" la pagina se ejecuta
> correctamente en cualquier navegador y muestra el popup de "hola
> mundo".
>
> Un saludo,
> Manuel.
>
> PD: Esta noche pegaré el codigo completo de la pagina que falla para
> que lo veais.

Aquí teneis el codigo:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="es">
<head>
<title>Procesamiento de imagenes</title>
<link media="all" type="text/css" href="/SnakeSystemWeb/css/
styles.css"
	rel="StyleSheet" />
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-
Type" />
</head>
<body>
<div id="window">
	<div id="header">
		<span>Snake System Web</span>
	</div>
	<div class="pageBody">
		<div id="menuhoriz">
			<ul id="tabnav">
				<li class="activo"><a href="/SnakeSystemWeb/Welcome.do">Inicio</
a></li>
				<li class="inactivo"><a href="/SnakeSystemWeb/
SelectImage.do">Seleccionar
				Imagen</a></li>
				<li class="inactivo"><a href="/SnakeSystemWeb/
UploadImage.do">Documentacion</a></li>
			</ul>
		</div>
		<div id="content">
		<script type="text/javascript" src="./js/functions.js"/>
		101603200<br />
		377<br />
		[{internalEnergy=0.0, y=97, x=126}, {internalEnergy=0.0, y=140,
x=126},
		{internalEnergy=0.0, y=116, x=141}, {internalEnergy=0.0, y=115,
x=103}]<br />
		0.0<br />

		<div class="imagesPanel">
			<div class="image" id="image">
				<span class="thumbnail">
					<img src="/SnakeSystemWeb/ShowImage.do?id=377" />
				</span>
				<span class="thumbnail">
					<img src="/SnakeSystemWeb/ShowGradientImage.do?id=377" />
				</span>
				<span class="thumbnail">
					<img src="/SnakeSystemWeb/ShowMapImage.do?id=377" />
				</span>
			</div>
		</div>

		<div class="infoPanel">
			( 126 , 97 ) ( 126 , 140 ) ( 141 , 116 ) ( 103 , 115 )
			<br />
			<br />
			126 97 126 140 141 116 103 115
			<input onclick="renderPoints('126 97 126 140 141 116 103 115')"
value="Recargar Puntos" type="button" />
		</div>

		<script type="text/javascript">
			alert("hola mundo");
		</script></div>
	</div>
	<div id="footer">
		Software desarrollado por
	</div>
</div>
</body>
</html>
Technical Details
Message-ID: <1179176825.589249.266470@e51g2000hsg.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!e51g2000hsg.googlegroups.com!not-for-mail
References: <1178203794.010140.148230@c35g2000hsg.googlegroups.com> <59v0niF2l7i9lU2@mid.individual.net> <1178229766.811311.41250@n59g2000hsh.googlegroups.com> <1178312645.392470.77660@l77g2000hsb.googlegroups.com> <1178550372.875880.157930@q75g2000hsh.googlegroups.com> <5a96ijF2njucvU1@mid.individual.net> <1178658958.643523.106670@y80g2000hsf.googlegroups.com> <5adu8fF2nb5jeU1@mid.individual.net> <1178741567.235504.237270@q75g2000hsh.googlegroups.com> <5agdfnF2p7v1nU1@mid.individual.net> <1179137176.596465.218550@w5g2000hsg.googlegroups.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1116f3,5f1ade08b7d61562
X-Google-Attributes: gid1116f3,public
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!e51g2000hsg.googlegroups.com!not-for-mail
From: Manuel <mfc1981@gmail.com>
Newsgroups: es.comp.lenguajes.java
Subject: Re: Páginas jsp y javascript.
Date: 14 May 2007 14:07:05 -0700
Organization: http://groups.google.com
Lines: 101
Message-ID: <1179176825.589249.266470@e51g2000hsg.googlegroups.com>
References: <1178203794.010140.148230@c35g2000hsg.googlegroups.com>
   <59v0niF2l7i9lU2@mid.individual.net>
   <1178229766.811311.41250@n59g2000hsh.googlegroups.com>
   <1178312645.392470.77660@l77g2000hsb.googlegroups.com>
   <1178550372.875880.157930@q75g2000hsh.googlegroups.com>
   <5a96ijF2njucvU1@mid.individual.net>
   <1178658958.643523.106670@y80g2000hsf.googlegroups.com>
   <5adu8fF2nb5jeU1@mid.individual.net>
   <1178741567.235504.237270@q75g2000hsh.googlegroups.com>
   <5agdfnF2p7v1nU1@mid.individual.net>
   <1179137176.596465.218550@w5g2000hsg.googlegroups.com>
NNTP-Posting-Host: 83.165.27.29
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1179176825 5628 127.0.0.1 (14 May 2007 21:07:05 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 14 May 2007 21:07:05 +0000 (UTC)
In-Reply-To: <1179137176.596465.218550@w5g2000hsg.googlegroups.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070310 Iceweasel/2.0.0.3 (Debian-2.0.0.3-1),gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: e51g2000hsg.googlegroups.com; posting-host=83.165.27.29;
   posting-account=H-YqNA0AAAAaCJhGy7zX3S71sySTjbQZ