java web 8

Java Web desde cero en Netbeans ☁️[07.- JSP y MySQL Crear una Base de datos ]

En este tutorial vamos a crear una base de datos en mysql en la cual vamos a insertar algunos registros que posteriormente jalaremos a nuestra aplicacion.

Codigo: https://github.com/programadornovato/javaWeb/commit/15327bed135d4b248fcce045f6b582def674daea

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
        <title>Saluda humano</title>
    </head>
    <body>
        <div class="container mt-5">
            <div class="row">
                <div class="col-sm">
                    <table class="table table-striped">
                        <thead>
                            <tr>
                                <th scope="col">ID</th>
                                <th scope="col">Nombre</th>
                                <th scope="col">Direccion</th>
                                <th scope="col">Telefono</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <th scope="row">1</th>
                                <td>data 2</td>
                                <td>data 3</td>
                                <td>data 4</td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </body>
</html>


Base de datos: https://github.com/programadornovato/javaWeb/commit/84a4977e6617ee4470552f7e2c3a68592d4ed1b3

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Base de datos: `jsp`
--

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `empledos`
--

CREATE TABLE `empledos` (
  `id` int(11) NOT NULL,
  `nombre` varchar(100) NOT NULL,
  `direccion` varchar(100) NOT NULL,
  `telefono` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Volcado de datos para la tabla `empledos`
--

INSERT INTO `empledos` (`id`, `nombre`, `direccion`, `telefono`) VALUES
(1, 'eugenio', 'Mexco', '7122245454'),
(2, 'Juana', 'Bolivia', '56788445121');

--
-- Índices para tablas volcadas
--

--
-- Indices de la tabla `empledos`
--
ALTER TABLE `empledos`
  ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT de las tablas volcadas
--

--
-- AUTO_INCREMENT de la tabla `empledos`
--
ALTER TABLE `empledos`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
COMMIT;

Instalar MySQL? en Ubuntu 18.04: https://www.youtube.com/watch?v=hx-nGKFVixA
Mysql OnLine Gratis ? ☁️ [Conectarnos nuestra base de datos desde cualquier maquina]: https://www.youtube.com/watch?v=Cw4TgJIHaXI
Instalar PhpMyAdmin en Windows 10 ⛵: https://www.youtube.com/watch?v=36ritPuyd00
INSTALAR XAMPP EN UBUNTU CON WIZARD TAN RAPIDO Y FACIL COMO EN WINDOWS: https://www.youtube.com/watch?v=sSDVxGQr7Dk

Curso de Java de 0 a 100: https://www.youtube.com/playlist?list=PLCTD_CpMeEKTT-qEHGqZH3fkBgXH4GOTF

? Esta lista de reproducción: https://www.youtube.com/playlist?list=PLCTD_CpMeEKRAgcBmPee0Wjx5HsJ0nb0L
Codigos en gdrive: https://drive.google.com/file/d/10uLG9o2oDV-qB32G4kMIpzXgLCiUYaYz/view?usp=sharing

Gracias por apoyar este canal: https://www.patreon.com/programadornovato?fan_landing=true

? Facebook: https://facebook.com/ProgramadorNovatoOficial
? Twitter: https://twitter.com/programadornova
? Linkedin: https://www.linkedin.com/in/programadornovato/
? Instagram: https://www.instagram.com/programadornovato/

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *