Hmm, I don't see how the session can be null. If you start from JSP,
and you did not set session="false" in the page directive, then to my
understanding, session should be created right in the JSP.

Michael.

> My index.jsp only forwards like this:
> 
> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
> <html>
>   <body>
>     <logic:forward name="cookiecheck"/>
>   </body>
> </html>

[skipped]

> My problem: when a user accesses my webapp for the first time this method
> does not return null,
> although it should do so! It is no problem of Tomcat 5.5.9 I am using, the
> Servlet I wrote for testing does
> its work properly and returns null if the user accesses my page for the
> first time. So why does Struts behave
> like this? Is it because of all the forwarding and redirecting, although it
> should have no effect in my opinion?
> 
> Perhaps someone knows whats going wrong
> 
> Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to