Ver Mensaje Individual
  #1 (permalink)  
Antiguo 28/06/2013, 07:36
Avatar de CMushroom
CMushroom
 
Fecha de Ingreso: diciembre-2011
Ubicación: Morelos
Mensajes: 99
Antigüedad: 12 años, 4 meses
Puntos: 1
Como puedo hacer esto en jsp

Hola, estoy haciendo un sitio pero ese sitio debo entregarlo en php y jsp , con php no hay problema, pero no se como pasar valores por metodo get en link¿ podrian explicarme como hacer esto en jsp por favor?

Código PHP:
<center><h2>Categorias</h2></center>
<?php
include ('Conexion.php');
$Seleccion mysql_query("SELECT * FROM categorias"$LinkBaseDatos) or die(mysql_error);
include (
'CerrarConexion.php');

echo 
'<ul>';
echo 
'<li><a href="index.php">Todas</a>';

while(
$Registro mysql_fetch_array($Seleccion))
    {
    echo 
"<li><a href='index.php?categoria=$Registro[Categorias]&amp;id=$Registro[CategoriasID]'>$Registro[Categorias]</a></li>";
    }
echo 
"</ul>";
?>