Results 1 to 5 of 5
Like Tree3Likes
  • 3 Post By Tolls

Thread: JSP Login

  1. #1
    mpraveenu is offline Member
    Join Date
    Jan 2012
    Posts
    1
    Rep Power
    0

    Default JSP Login

    I need a solution for JSP Login Page....My requirement is as follows...

    1. In the login page, i have two fields accepting username and password.
    2. Below that two fields, a "label" which acts as status of the login transaction.
    3. if login is failure, the status should be shown as "LOGIN FAILURE"...

    The thing is, the page should not have page redirection, in the case of login failure. After clicking login button, all the processes should happen and i want only the final status.

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

  3. #3
    studyfortcs is offline Member
    Join Date
    Jan 2012
    Posts
    2
    Rep Power
    0

    Default Re: JSP Login

    Try this man .. this will work for you

    Login HtML

    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>

    Moderator edit: code dump removed.

    </html>
    Last edited by DarrylBurke; 01-16-2012 at 09:37 PM. Reason: Code dump removed

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

    Default Re: JSP Login

    1. Use code tags.
    2. Don't spoonfeed.
    3. That code is riddled with basic errors. Please don't "help" if you don't have a clue what you're talking about.
    doWhile, DarrylBurke and Eranga like this.

  5. #5
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. Login
    By geniusokorro in forum NetBeans
    Replies: 5
    Last Post: 08-07-2011, 02:48 PM
  2. help with login
    By dhazwa in forum New To Java
    Replies: 2
    Last Post: 07-23-2011, 09:05 PM
  3. Java - Getting Login ID
    By java_goose in forum Advanced Java
    Replies: 0
    Last Post: 04-27-2010, 09:16 AM
  4. login.jsp
    By roo7 in forum Enterprise JavaBeans (EJB)
    Replies: 5
    Last Post: 12-02-2008, 04:58 PM
  5. Replies: 0
    Last Post: 06-25-2008, 01:41 PM

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
  •