Commit 5f7168bb by Yovan Martinez

Seguimos arreglando errores de merge

parent 1f09e4cd
...@@ -10,7 +10,7 @@ public class DataBase { ...@@ -10,7 +10,7 @@ public class DataBase {
try{ try{
Class.forName("org.postgresql.Driver"); Class.forName("org.postgresql.Driver");
con= DriverManager con= DriverManager
.getConnection("jdbc:postgresql://localhost:5433/bootcamp_th", .getConnection("jdbc:postgresql://localhost:5432/bootcamp_th",
"postgres", "postgres"); "postgres", "postgres");
if(con != null){ if(con != null){
......
...@@ -114,7 +114,6 @@ public class SaveServlet extends HttpServlet { ...@@ -114,7 +114,6 @@ public class SaveServlet extends HttpServlet {
request.getRequestDispatcher("formulario.jsp").include(request, response); request.getRequestDispatcher("formulario.jsp").include(request, response);
}else{ }else{
if (rechazarDatos){ if (rechazarDatos){
out.print(" <div class=\"alert info\">\n" + out.print(" <div class=\"alert info\">\n" +
" <span class=\"closebtn\" onclick=\"this.parentElement.style.display='none';\">&times;</span> \n" + " <span class=\"closebtn\" onclick=\"this.parentElement.style.display='none';\">&times;</span> \n" +
" <strong>Formulario ya Cargado!</strong> YA EXISTE EL FORMULARIO\n" + " <strong>Formulario ya Cargado!</strong> YA EXISTE EL FORMULARIO\n" +
......
...@@ -97,24 +97,13 @@ pageEncoding="UTF-8"%> ...@@ -97,24 +97,13 @@ pageEncoding="UTF-8"%>
</li> </li>
<% } %> <% } %>
</ul> </ul>
<input class="enviar info error" type="submit"> <input class="enviar info error" type="submit">
<input class="borrar" type="reset" value="Borrar"><br> <input class="borrar" type="reset" value="Borrar"><br>
<a href="index.html">volver</a> <a href="index.html">volver</a>
</form> </form>
</article> </article>
</main> </main>
</body> </body>
</html> </html>
<script> <script>
(function() { (function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment