Results 1 to 2 of 2
  1. #1
    trupesh1991 is offline Member
    Join Date
    Jan 2012
    Posts
    3
    Rep Power
    0

    Default how to give error message after validation of username and password

    hello,
    my problem looks like following.:

    i have a login page and if user enters any wrong data which could not been matched with database then i have to give error message within same page by using jsp..give me suggestion please...!

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,014
    Rep Power
    20

    Default Re: how to give error message after validation of username and password

    Forward to the login page, with an error message added to the request by the login servlet.
    On the login.jsp add a section to display this message if there is one in the request.

Similar Threads

  1. Username And Password
    By razmyasdfg in forum JDBC
    Replies: 9
    Last Post: 05-18-2011, 02:59 PM
  2. New to GUI. Logging in with Password and username
    By slitka in forum New To Java
    Replies: 3
    Last Post: 04-11-2011, 11:39 PM
  3. how to give the username in java using ftp?
    By rkraj in forum Java Software
    Replies: 0
    Last Post: 02-08-2011, 02:32 PM
  4. password username and databases
    By chalo in forum JCreator
    Replies: 0
    Last Post: 12-02-2008, 08:11 AM
  5. Help, created a username and password box
    By cachi in forum AWT / Swing
    Replies: 1
    Last Post: 08-07-2007, 04:21 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •