Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Alert from servlet returns blank page

 
arushi tomar
Ranch Hand
Posts: 91
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a login page with a login servlet in which if the user enters wrong credentials, an alert is given:



the alert works fine, but after alert, it gives a blank page with the link :

http://localhost:8080/AWSCustomerJavaWebFinal/LoginServlet

I have used hibernate.
What is the possible solution for this, so that after the alert, the page stays on login.jsp or forwards to login.jsp after the alert, rather than moving forward to the login servlet, I tried request dispatcher but then it did not show the alert and moved to login.jsp again.
 
Kuldip Shetty
Ranch Hand
Posts: 45
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may possibly do this:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic