This is a fundamental problem escpecially if you are using the Model 2
architecture and the servlet is being used as the controller. Has anyone got
any workarounds?

-----Original Message-----
From: Javier Borrajo [mailto:[EMAIL PROTECTED]]
Sent: 10 April 2000 16:05
To: Rajesh Shah
Cc: [EMAIL PROTECTED]
Subject: Re: Session using Tomcat


Hi, some people in my company evaluated TomCat and had
this problem, so they recommend Resin now.
See www.caucho.com

Regards

    Javier Borrajo
    www.tid.es


Rajesh Shah wrote:

> I ahve been using ServletExec for the last three months and have not
> encountered any problems. I am currently researching Tomcat and having
> difficulties with sessions.
>
> I have a JSP which is a simple registration page. The form element in the
> JSP submits to a Servlet which is turn gets the session object from the
> request and retreives a bean from the session. Even thought I set the
scope
> of the bean to the session, I cannot retrieve the current session. When I
do
> request.getSession(false) I get a null object, and if I say
> getSession(true), then I get a new session.
>
> has nybody else had problems with this? I am using WinNT, Tomcat 3.1
>
> Raj.
>
> PS. By browser is set to accept cookies!
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to