Hi frnds ,iam new to java and j2ee ,my requirement is using
java or any j2eetech how to lock an user when he enter wrong
credentials(uname&password) more than 3 times.take the
username and passowrd in a bean no need to conned Db kindly
provide me sample application code or and ideas or links or
tutorials plzzzzz urgent for me thanks in advance...
Answers were Sorted based on User's Feedback
Answer / juser
If it is window based application then you can use static
varibale. I mean static counter varibale and every time
when user tries to enter user name and password then check
if it wrong increase counter.and if this counter variable
is more than 3 then block this user by updating DB.
Is This Answer Correct ? | 8 Yes | 5 No |
Answer / hero
Please Stop Learning About JAVA Its Better For Your Life....
Worst Doubt...
Is This Answer Correct ? | 2 Yes | 0 No |
What restrictions are placed on the location of a package statement within a source code file?
Can I map more than one table in a cmp?
1) Scenario: I developed my application on local system and everything is perfect and tested. Now on UAT this application is deployed on clustered server environment. They are logical or physically clustered. But application is not working over there.  What is the issue with application?  What are the first things which come in your mind?
How can I avoid validating a form before data is entered?
what are JSP tags? what is difference between include action and directory?
what is diff between Access modifier and specifier?
a US company has filed my H1B visa ,, and i got selected in random number process.I wanna ask Could they ask regarding my languages(java,c++) or there will b just general questions?? And wat kind of questions will they ask in embassy interview??
What are the call back methods in entity bean?
What is the map interface?
Name the method to find, if a thread is active or not?
suppose i open my yahoo mail.then copy the url. then sign out & close browser.then open browser paste that url on the browser.will i get my mail opened or not? i know it ill not.but how it work.how i create like this type of secure site?
Which are the different segments of memory?