I know it is a web container page. I may not have been clear on this before. The URL I hit is: http://localhost:9080/EquitableSharing Wicket the forwards me to: http://localhost:9080/EquitableSharing/gov.usdoj.afms.esp.modules.login.LoginPage?1
But Wicket is involved because the WicketFilter is running and getting us to the wicket page code, and what's more most of this code is the same as it was when it worked before my version upgrade. Which tells me that most likely I either screwed something up in the upgrade, or missed something. Anyway, I am narrowing my focus on the line: throw new RestartResponseAtInterceptPageException(getLoginPageClass()); because I changed the return value of getLoginPageClass() from LoginPage.class to SearchPage.class, and sure enough, now it tries to forward to the SearchPage's full name as if it were a URL, just like it was doing for LoginPage. The redirected URL in the browser is: http://localhost:9080/EquitableSharing/gov.usdoj.afms.esp.modules.es01.SearchPage So clearly, when I throw that RestartResponseAtInterceptPageException, the class passed is having it's class name used as the URL to redirect to. That URL isn't right of course, the class is a wicket page, not a URL. But this is exactly how the 1.4.7 version of the code used this exception (I did a compare to check). So I am confused. It's almost like the meaning of that exception's parameters changed, but that doesn't appear to be the case. They still take Class<Page>. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Converting-1-4-7-to-6-12-Login-Error-tp4662916p4662960.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
