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 3 of 3

Thread: i need coding for simple login

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

    Default i need coding for simple login

    we need coing for simple login with all the rules given below,
    1. Jsp -> Only presentation logic
    2. Servlets -> Business logic
    3. jdbc queries -> Properties files
    4. use variables as meaningful names.
    5. html field names and servlet fields must be same.
    6. Maintain a separate properties file for every module to store jdbc queries
    7. Use only prepareStatement(). This line of code should get executed only one time through out the life time of application. So that use static bloxk n write this code. In methods simply write either executeQuery() or executeUpdate() according to requirements after setting all the input values.
    8. Write persistence logics (database related logics) only in DAO [Data Access Object] class
    9. Exception handling is madatory for every java method
    10. Use log4j instead of System.out.println() messages


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

    Default Re: i need coding for simple login

    this coding is very important for me

  3. #3
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,320
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: i need coding for simple login

    We are not a code service, in other words do not expect anyone to do this for you, regardless of how important it is to you (your post is no more important than anyone else's here). Asking a question that makes it easy to answer is much more productive than posting what looks like a homework assignment in such a manner that looks like you expect someone else to do the work for you.

Similar Threads

  1. Help Huffman Coding>>
    By cool_97 in forum What's Wrong With My Code?
    Replies: 35
    Last Post: July 23rd, 2011, 04:27 PM
  2. Help in Login
    By flyingpapers in forum What's Wrong With My Code?
    Replies: 1
    Last Post: February 11th, 2011, 01:43 AM
  3. Coding error
    By chemy G in forum What's Wrong With My Code?
    Replies: 1
    Last Post: November 2nd, 2010, 08:36 AM
  4. [SOLVED] simple question, coding unrelated, how to delete multiple tabs?
    By Perd1t1on in forum Java Theory & Questions
    Replies: 1
    Last Post: September 8th, 2010, 07:44 PM
  5. simple login web service
    By mr_aliagha in forum JavaServer Pages: JSP & JSTL
    Replies: 3
    Last Post: January 5th, 2010, 03:49 PM