[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index] [Home]

Re: request.getSession() returns NULL


Hi Tom,

Tom Hume wrote:
> I'm having exactly this behaviour running GNUJSP 0.9.6 with the Zeus web
> server (http://www.zeus.co.uk/) and it's own servlet runner. The JSP
> stuff seems to work OK aside from this - but I've stuck
> System.out.println() type things in JSPCompiler.java and
> request.getSession(true) is returning null all the time...

How does the session.jsp example page work for you? I had no problem
with that using Apache + Apache JServ 0.9.11. I will try this out on a
couple of servlet engines in a couple of days ago. I don't think the
problem is related to what is described in the URL's you sent. That has
to do with SSI-Servlets not being able to set Cookies. A JSP page should
be able to do that; it is a full-fledged servlet.

Regards, Vincent.