i have 2 beans which check the user name and pass word , is it possible to give a window.alert() message if the authentication fails in the bean like if user enters a false pass word!! give me ur suggestions pls!
SCJP, SCWD <br />A farmer learns more from a bad harvest than a good one.
Heath Lilley
Ranch Hand
Joined: Jan 09, 2001
Posts: 72
posted
0
Short answer is yes. Long answer... 1. Redirect the failed login back to the login.jsp page... 2. Setup a js function that is written only when the error is present, something like...
3. Then do this with the body tag.
This worked for me. good luck.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.