%-- Document : xml_get_datos_basicos Created on : 30/11/2011, 12:50:10 PM Author : psoto --%> <%@page contentType="text/html"%> <%@page pageEncoding="UTF-8"%> <%@page import = "conexion.*" import = "java.sql.*" import = "java.util.Calendar" import = "general.Config" import = "general.Permisos" import = "java.util.Date" import = "java.text.SimpleDateFormat" %> <% /********************* Despliega el formulario de captura y validación de datos de un nuevo usuario del sistema*************************/ /********************************************creado por: L.I. Salvador Díaz Parra*******************************************************/ out.println(""); String nompag[] = request.getRequestURI().split("/"); Connection lcnt_con = null; ResultSet lrs_res = null; Statement lst_stm = null; String ls_query = new String(""); ResultSet lrs_res2 = null; Statement lst_stm2 = null; String ls_query2 = new String(""); String emergent_error = new String(""); boolean lb_connection = false; String debug = new String("si"); // Conexión a la base de datos try { if (!Config.getParametro("debug").equals("si")) { debug = "no"; } ConexionEquipos c = new ConexionEquipos(); lcnt_con = c.getConnection(); lst_stm = lcnt_con.createStatement(); lst_stm2 = lcnt_con.createStatement(); lb_connection = true; } catch (Exception e) { emergent_error = "Error al conectarse a la base de datos "; if (debug.equals("si")) { emergent_error += e; } lb_connection = false; } if (lb_connection) { try { Date hoy = new Date(); SimpleDateFormat formato = new SimpleDateFormat("yyyy-MM-dd"); String fecha_hoy = formato.format(hoy); %>
| Numero Serie: | Monitor: |
|
|
|---|---|---|---|
| MAC | IP | ||
| Sistema Operativo | Procesador | ||
| RAM: | HD: | ||
| Marca: | Modelo: |
|
|
| Incluye Teclado: | Si No | Incluye Mouse: | Si No |
| Calificacion: | |||
| Observaciones: | |||