Muestra las diferencias entre dos versiones de la página.
| Ambos lados, revisión anteriorRevisión previa | |||
| dad2:bbdd [2024/04/09 11:03] – thejuanvisu | dad2:bbdd [2024/04/09 11:09] (actual) – thejuanvisu | ||
|---|---|---|---|
| Línea 39: | Línea 39: | ||
| }catch(SQLException e){ | }catch(SQLException e){ | ||
| System.out.println(" | System.out.println(" | ||
| + | } catch(InstantActionException e){ | ||
| + | e.printStackTrace(); | ||
| + | } catch(IllegalAccessException e){ | ||
| + | e.printStackTrace(); | ||
| + | } catch(ClassNotFoundException e){ | ||
| + | e.printStackTrace(); | ||
| + | } finally { | ||
| + | try{ | ||
| + | if (rs != null) rs.close(); | ||
| + | if (ps != null) ps.close(); | ||
| + | } catch (SQLException e){ | ||
| + | e.printStackTrace(); | ||
| + | } | ||
| } | } | ||
| + | | ||
| + | System.Out.Println(" | ||
| } | } | ||
| } | } | ||
| + | | ||
| + | | ||
| + | protected void doGet(HttpServletRequest request, httpServlet Response response){ | ||
| + | | ||
| + | } | ||
| + | | ||
| </ | </ | ||
| {{drawio> | {{drawio> | ||