David Rosenstark wrote:
> I have a servlet that receives incoming xml requests. Based on errors i have
> received, it seems that i need to create a new JAXBContext for each request,
> since when i initialized it in init() of my server, I receive a
> nullpointerexception. Is this correct?
>
No, this does not sound correct - you should be able to reuse the same
context (assuming all of the incoming requests resolve to a schema
from the context path). Can you send your schema along with the stack
trace?
--Ryan
> TIA,
> David
>