> Hello
while running the petstore example, i am facing the
following problem;
> In the following piece of code , "j_security_check" cannot be found
> anywhere in PETSTORE example. We are not sure about this ,whether it is an
> JSP or JAVA SERVLET FILE . Could you please tell us about
> "j_security_check"
> in Login.jsp.
>
> GIVE THE STEPS TO DO THE Form BASED AUTHENTICATION IN THE DEPLOYTOOL. We
> have done basic authentication its working fine.But we are unable to do
> form
> based authentication.please send about this
>
> The sample code is given below.
>
> <%--
> % $Id: login.jsp,v 1.15.8.1 2000/04/27 23:30:06 gmurray Exp $
> % Copyright 1999 Sun Microsystems, Inc. All rights reserved.
> % Copyright 1999 Sun Microsystems, Inc. Tous droits r�serv�s.
> --%>
>
> <%--
> % The login form, as required by the form based login mechanism.
> % Note that this form does NOT go through the templating mechanism.
> % XXX find a way to make it go through the template mechanism in
> % XXX stead of replicating the template here.
> --%>
>
> <%@ page errorPage="errorpage.jsp" %>
>
> <body bgcolor="white">
> <h2><center>Please sign into Java Pet Store Demo</center></h2>
> <br><br><br><br>
> <center>
> <form action="j_security_check" method=post> // This file
> or whatever is not found in the petstore.Whats this for?
> <table>
> <tr>
> <td align="center" >
> <table border="0">
> <tr>
> <td><b>User ID:</b></td>
> <td>
> <input type="text" size="15" name="j_username" value="j2ee">
> </td>
> </tr>
> <tr>
> <td><b>Password:</b></td>
> <td>
> <input type="password" size="15" name="j_password" value="j2ee">
> </td>
> </tr>
> <tr>
> <td></td>
> <td align="right">
> <input type="image" border="0"
> src="<%=request.getContextPath()%>/images/button_submit.gif"
> name="submit">
> </td>
> </tr>
> <tr>
> <td><br></td>
> </tr>
> <tr>
> <td colspan="3" align="center">
> <a href="createnewaccount">
> New User
> </a>
> </td>
> </tr>
> </table>
> </td>
> </tr>
> </table>
> </form>
> </center>
> </body>
>
> ==========================================================================
> =
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff J2EE-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".