Two DataContexts wouldn't hurt :-), but thanks for pointing this out, I
will need to fix it.
Vincent, are there cases when you access application's action URL,
bypassing the index.jsp?
Andrus
> Andrus Adamchik wrote:
>> ..
>> If so, DataContext is created by CustomConfiguration's superclass when
>> the session is staryed. But the key to retrieve it is defined under
>> ServletConfiguration.DATA_CONTEXT_KEY as "cayenne.datacontext". Try
>> using this key instead. Or use
>> CustomConfiguration.getDefaultContext().
>
> I know just enough about JSP and Struts to not like them :-), but a
> (the?) DataContext is both created and put into the HTTP session as
> "context" in index.jsp. Maybe that is the reason? just an idea..
>
> -h
This archive was generated by hypermail 2.0.0 : Tue Feb 04 2003 - 16:39:05 EST