My Image fetcher servlet needs to be used by different portlets in maybe different war files. I guess if I deploy this servlet in a separate war then I will loose the context around the image that originally was passed from the source war. This is because I actually invoke fetching of bytes from the original image object.

I do not want this servlet to be deployed with every portlets war and I am not sure if that would be even possible..same servlet in different wars.

Any suggesstions will be great.

Kishan