Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: User authentification HELP!


Message #1 by "Johan Ruttens" <ruttens_johan@h...> on Wed, 9 May 2001 13:04:52
Hi
if (password.IgnoreEqualCase("yellina")) 
{
response.redirect("menu.jsp");
} else {
response.redirect("error.jsp");
}

Regards Hari Yellina.
----- Original Message ----- 
From: "Johan Ruttens" <ruttens_johan@h...>
To: "Pro_JavaServer_Pages" <pro_jsp@p...>
Sent: Wednesday, May 09, 2001 1:04 PM
Subject: [pro_jsp] User authentification HELP!


> Hi,
> 
> This is my (still) problem:
> 
> I have a JSP page and a JavaBean develloped so a user can type in a name
> and password to gain access.  I want to create the following: when the
> user has filled in his/her name and password and the clicks on the login
> button, the Java Bean has to check if the password is right, if so the
> bean starts up a menu(jsp file), if not so the bean starts up a erro page
> (also a jsp file).
> 
> PS I don't want much java code or script in my jspfile.
> 
> Can anybody help me with this problem?
> 
> I would be ever so grateful
>

  Return to Index