Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: Just a general Java related question

  1. #1
    Junior Member
    Join Date
    Oct 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Just a general Java related question

    Hi all,

    I have a Java file which then has a .html form, which allows you to search an SQL database for the forename and surname of a person. The web user searches and it will display the results/people with that name, however I am now trying to display an error message when that persons name does not exist within the database.

    Hope someone can help me.


    Screenshot.jpg


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: Just a general Java related question

    If you want help, you should provide an SSCCE that demonstrates what you've tried and where you're stuck. Don't forget the highlight tags. Taking a screenshot of your code isn't going to work.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    Junior Member
    Join Date
    Oct 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Just a general Java related question

    Thanks for your reply, I have sent you a private message with my program.

  4. #4
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: Just a general Java related question

    Quote Originally Posted by javaisfun View Post
    Thanks for your reply, I have sent you a private message with my program.
    Please keep technical questions to the public forum.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

Similar Threads

  1. Doubt related to Java
    By Jagatha in forum Member Introductions
    Replies: 1
    Last Post: September 15th, 2011, 04:21 AM
  2. i want three java related projects !
    By coolforyou in forum JavaServer Pages: JSP & JSTL
    Replies: 3
    Last Post: August 16th, 2011, 12:02 AM
  3. Newbie: general question on trying to get a simple Pokemon game to work
    By willmer in forum Object Oriented Programming
    Replies: 7
    Last Post: July 13th, 2011, 07:33 AM
  4. [SOLVED] Some questions related to learning Java
    By beer-in-box in forum Java Theory & Questions
    Replies: 5
    Last Post: June 7th, 2011, 02:37 PM
  5. java servlet related
    By vidi in forum Member Introductions
    Replies: 0
    Last Post: April 16th, 2011, 10:26 PM