0 Replies Latest reply on Oct 2, 2008 10:04 AM by Karim Mechhoure

    how to change login.jsp path

    Karim Mechhoure Newbie

      Hi,

      I need to change the path of login.jsp. In my ear, I have a login.jsp page.
      How can I tell Jboss to use this login page instead of the original one?

      I tried to change the path in /jboss-portal.sar/portal-server.war/WEB-INF/web.xml :

       <login-config>
       <auth-method>FORM</auth-method>
       <realm-name>JBoss Portal</realm-name>
       <form-login-config>
       <form-login-page>/myApplication/jsp/login.jsp</form-login-page>
       <form-error-page>/myApplication/jsp/login.jsp</form-error-page>
       </form-login-config>
       </login-config>
      


      When I try with this conf, the login page is not loading and I have no errors.

      Is this the good way to do this?