users@glassfish.java.net

Re: RE: Issues in jsp login form.

From: <glassfish_at_javadesktop.org>
Date: Wed, 13 Aug 2008 07:15:40 PDT

my web.xml is
 <welcome-file-list>
        <welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<login-config>
      <auth-method>FORM</auth-method>
       <realm-name>USAPatient</realm-name>
      <form-login-config>
              <form-login-page>/protected/login.jsp</form-login-page>
              <form-error-page>/loginerror.jsp</form-error-page>
      </form-login-config>
  </login-config>
</web-app>


i am accessing the index.jsp it contains only

<%
        response.sendRedirect("protected/login.jsf");
%>

it redirects to login.jsf.but still i am getting the same error.

Thanks
[Message sent by forum member 'kieth_jane' (kieth_jane)]

http://forums.java.net/jive/thread.jspa?messageID=293041