Hi,

Unfortunately setting the namespace in the init method won't work, as the 
setting of the Namespace is on a per-thread basis (see 
http://thoughts.inphina.com/2010/09/16/multi-tenancy-in-google-app-engine-scope-of-namespacemanager/
 
for more info on how it works under the hood).

The better option would be to create a single request filter which 
interrogates the request context and sets the namespace for that request, or 

create two filters which just set the correct namespace and apply them to 
separate URL patterns.

Cheers,
Simon

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/o2ZCdPmdjMIJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to