> why is it, that i can (and should) override getSession() to get 'my'
> implementation,
>
> @Override
> public MySession getSession()
> {
> return (MySession) super.getSession();
> }
Actually, if you use Java 5, I think this pattern is nicer:
public class MySession extends WebSession {
...
public static MySession get() {
return (MySession)Session.get();
}
...
and then just do MySession s = MySession.get();
Eelco
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]