Guest User

Untitled

a guest
Apr 30th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. <%
  2. Conexion conexion= new Conexion();
  3. boolean loguear=false;
  4. String user = request.getParameter("usuario");
  5. String pass = request.getParameter("clave");
  6. loguear = conexion.login(user, pass);
  7. HttpSession sesion = request.getSession();
  8. //Ejecutivos objeto = (Ejecutivos)sesion.getAttribute("usuario");
  9. if (loguear)
  10. {
  11. %>
  12. <a href = "intranet.jsp" > Continuar </a>
  13. <%
  14. }else{
  15. %>
  16. <a href = "intranet_login.jsp" > Contraseña incorrecta </a>
  17. <%
  18. }
  19. //sesion.invalidate();
  20.  
  21. %>
Add Comment
Please, Sign In to add comment