You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Chitale, Sandip V" <Sa...@fairisaac.com> on 2003/08/29 03:04:29 UTC
Tomcat 3 and use of sessions
Folks,
Is there a way in Tomcat 3 , when embedded in an application, to create
a HttpSession programatically,
populate some session attributes and somehow have a client browser
participate in that session (using
the right URL for example).
Any help will be appreciated.
PS: We are stuck with using Tomcat 3 for reasons of supporting JDK1.1.
Re: Tomcat 3 and use of sessions
Posted by Bill Barker <wb...@wilshire.com>.
It's much the same as in Tomcat 5:
HttpSession session = request.getSession(true);
session.setAttribute("foo", "bar");
"Chitale, Sandip V" <Sa...@fairisaac.com> wrote in message
news:FA2A0B9AC797734B8D6AF982EE10D9C2037E7CA4@srfmsg100.corp.fairisaac.com...
Folks,
Is there a way in Tomcat 3 , when embedded in an application, to create
a HttpSession programatically,
populate some session attributes and somehow have a client browser
participate in that session (using
the right URL for example).
Any help will be appreciated.
PS: We are stuck with using Tomcat 3 for reasons of supporting JDK1.1.
Re: why i must restart the Tomcat ??
Posted by "L.Karam" <le...@ebs.com.br>.
Tks....now its working !!!
----- Original Message -----
From: "Fabio Bazzani" <si...@grisnet.it>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Friday, August 29, 2003 9:10 AM
Subject: Re: why i must restart the Tomcat ??
> put reloadable ="true" in your context in server.xml
>
> ----- Original Message -----
> From: "L.Karam" <le...@ebs.com.br>
> To: "Tomcat Users List" <to...@jakarta.apache.org>
> Sent: Saturday, August 30, 2003 2:06 PM
> Subject: why i must restart the Tomcat ??
>
>
> > Hi,
> >
> > Every time I compile any class I must restart the Tomcat in order to see
> the
> > changes, what might be wrong?
> > (Tomcat 4.1.24)
> >
> > Leandro Karam
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: why i must restart the Tomcat ??
Posted by Fabio Bazzani <si...@grisnet.it>.
put reloadable ="true" in your context in server.xml
----- Original Message -----
From: "L.Karam" <le...@ebs.com.br>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Saturday, August 30, 2003 2:06 PM
Subject: why i must restart the Tomcat ??
> Hi,
>
> Every time I compile any class I must restart the Tomcat in order to see
the
> changes, what might be wrong?
> (Tomcat 4.1.24)
>
> Leandro Karam
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
Re: why i must restart the Tomcat ??
Posted by Tim Funk <fu...@joedog.org>.
You don't need to restart tomcat, you can just restart or reload the affected
webapp. See the manager webapp for details.
-Tim
L.Karam wrote:
> Hi,
>
> Every time I compile any class I must restart the Tomcat in order to see the
> changes, what might be wrong?
> (Tomcat 4.1.24)
>
> Leandro Karam
>
why i must restart the Tomcat ??
Posted by "L.Karam" <le...@ebs.com.br>.
Hi,
Every time I compile any class I must restart the Tomcat in order to see the
changes, what might be wrong?
(Tomcat 4.1.24)
Leandro Karam