
<%-- 
    Document   : index
    Created on : 14-sep-2010, 13:12:42
    Author     : jorpumuo
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ page import="java.io.*,java.util.*,java.net.*,java.sql.*" %>






<jsp:useBean id="claseWeka" scope="page" class="paqueteJava.claseWeka"/>


<%= claseWeka.abrirConexion()%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Prediccion de vehiculos</title>

    </head>
    <basefont size="2" face="Arial" >
    <body>

    <br>
    <br>


        <form name="formulario" method="post" action="busqueda.jsp">


            <table border="0" align="center">

                <tbody>
                    <tr>
                        <td align="center" width="500" height="500">
                           
                            <p align="center">
                                 <fieldset >
                                <legend align="center">Selección de marca</legend>
                                <br>
                                <br>
                                <br>
                            Marca: <select name="marca">
                                >
                                <%
                                            String[] lMarcas = claseWeka.listarMarcas();
                                            for (int i = 0; lMarcas[i] != null; i++) {
                                                out.print("<option value=" + lMarcas[i]);
                                                //if(request.getParameter("marca")==lMarcas[i]) out.print(" selected");
                                                out.print(">" + lMarcas[i] + "</option>");
                                            }
                                %>
                            </select>


                            <br>
                            <br>
                            <br>
                            <br>
                            </fieldset>
                            
                            <br>
                            <br>

                            


                            <input type="submit" value="Siguiente" name="aceptar" /><br>

                            </p>
                            
                        </td>
                    </tr>
                </tbody>
            </table>

        </form>


    </body>
</html>
