Results 1 to 3 of 3
  1. #1
    sandeep43 is offline Member
    Join Date
    May 2011
    Posts
    97
    Rep Power
    0

    Question How to validate user to make sure he is connected to database?

    Hi,

    i have written code for connecting to database and its also connected to database where i was able to retrieve data from the connected server, but how can i validate or make sure to the user who is using the application to pop-up tat he is/not connected to database

    Thanks in advance

    Regards
    Sandeep

  2. #2
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    9

    Default

    Huh? If you simply want to notify the user that they are connected, a simple JOptionPane (if stand-alone), if web, then simply include some text String on the next pages. If you want to verify that the user is allowed "to connect to the DB" / "use your application", you need to build an entire authentication and roll system (which could be as simple as a flat-file).

  3. #3
    sandeep43 is offline Member
    Join Date
    May 2011
    Posts
    97
    Rep Power
    0

    Default

    Hi Masijade

    Thanks for the reply, i got to know and finished validating it also.

    Next thing i want to know is
    In an software installation you will get "Next" button while installation is taking place, when we click next button, it takes us to new window i.e. next step, so if i do tat next step as a separate project, then how can i call in the "Next" button we clicked?

    Thanks in advance

    Sandeep

Similar Threads

  1. asking user to make choice through menu
    By tinaman in forum New To Java
    Replies: 6
    Last Post: 04-23-2011, 08:38 AM
  2. Replies: 5
    Last Post: 03-29-2011, 12:41 PM
  3. Replies: 2
    Last Post: 05-18-2010, 03:12 PM
  4. How do I validate user input from forms with Java?
    By rickywh in forum New To Java
    Replies: 2
    Last Post: 01-30-2010, 06:49 AM
  5. Replies: 0
    Last Post: 09-13-2008, 12:59 AM

Posting Permissions

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