Results 1 to 5 of 5
- 01-05-2012, 10:46 AM #1
Member
- Join Date
- Jan 2012
- Posts
- 1
- Rep Power
- 0
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.
- 01-05-2012, 11:11 AM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Re: JSP Login
Just like AJAX call.
- 01-16-2012, 06:36 AM #3
Member
- Join Date
- Jan 2012
- Posts
- 2
- Rep Power
- 0
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 08:37 PM. Reason: Code dump removed
- 01-16-2012, 11:54 AM #4
Moderator
- Join Date
- Apr 2009
- Posts
- 10,460
- Rep Power
- 16
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.
- 01-17-2012, 05:03 AM #5
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Re: JSP Login
Similar Threads
-
Login
By geniusokorro in forum NetBeansReplies: 5Last Post: 08-07-2011, 01:48 PM -
help with login
By dhazwa in forum New To JavaReplies: 2Last Post: 07-23-2011, 08:05 PM -
Java - Getting Login ID
By java_goose in forum Advanced JavaReplies: 0Last Post: 04-27-2010, 08:16 AM -
login.jsp
By roo7 in forum Enterprise JavaBeans (EJB)Replies: 5Last Post: 12-02-2008, 03:58 PM -
cannot open database requested in login. Login fails
By banduskank in forum JDBCReplies: 0Last Post: 06-25-2008, 12:41 PM


3Likes
LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks