I am have a strange problem of not having access to session objects in my servlet that have been previously created in a JSP.  I think the key to my problem is that I am using the servlet as a source to an image as follows:
 
<img src="\servlet\myServlet">
 
If I forward/redirect to my servlet from the JSP I have access to the session variables but if I use the servlet as a source to the image I do not (it actually wants to create a new session, i.e. request.getSession(false) returns null).
 
First of all, does anyone know what might be happening here and second what can I do about it?
 
Thanks.
 
- David

Reply via email to