- I have set up a new portal container.
- I want to customize the login page, so I make changes to /login/jsp/login.jsp in my portal WAR
- I access a private page, e.g. /myportal/private/classic
- I get the login.jsp from the default portal container (/portal), not my customized version.
I can get my customized login.jsp to show up when I enter a wrong username/password. This is because in the ErrorLoginServlet, a new GateinWCIController is created with the current ServletContext, so it uses my custom JSP.
On the other hand, the InitiateLoginServlet does not create a new GateinWCIController instance, but re-uses a previously created one, which is the wrong one (using the default PortalContainer).