Ver Mensaje Individual
  #1 (permalink)  
Antiguo 02/12/2008, 20:07
Coplo
 
Fecha de Ingreso: octubre-2008
Mensajes: 155
Antigüedad: 15 años, 6 meses
Puntos: 1
ayuda porfavor "como cambiar de ascendente a descendente"

Hola me pueden ayudar como cambiar de ascendente a descendente.

mi primer codigo es en jsp:

Código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin t&iacute;tulo</title>
</head>

<body>
	<%

int i;

for ( i = 1 ; i <= 4 ; i ++ ) {

out.print ( i + "<br>" ) ;

}

%>

</body>
</html> 
osea este codigo cuenta:

1
2
3
4

pero lo que yo quiero es que cuente:

4
3
2
1