On Thu, 24 Jul 2008, Ritz123 wrote: > I have a custom Session object which is registered in the custom > WebApplication class as newSession method override.
Is your custom session class extending Session or WebSession? > The session object overrides static Session.get() method returning custom But static methods cannot be overriden in Java, can they? > java.lang.ClassCastException: com.neobits.web.NeobitsWebSession > at com.neobits.web.NeobitsWebSession.get(NeobitsWebSession.java:51) > at > com.neobits.web.pages.ViewCartPage$CartDetailsFragment$CheckoutButton.onSubmit(ViewCartPage.java:330) Could you show those lines of code? Best wishes, Timo --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]