My problem is that I have two domains mapped to the same IP ? Please could
you help me in this.
- Original Message -
From: "Mayuresh Kshirsagar" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, December 09, 2004 11:25 AM
Subject: Re: Multiple domains on sin
Hi,
I have to use APACHE.
I have seen one example given in the APACHE documentation:
--
NameVirtualHost *
ServerName www.domain.tld
DocumentRoot /www/domain
ServerName www.otherdomain.tld
DocumentRoot /www/otherdomain
Hi,
Here is an example you can follow:
Hope this helps.
Arnab
-Original Message-
From: Arnab Chakravarty [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 09, 2004 9:44 AM
To: Tomcat Users List
Subject: RE: Threads issues in Tomcat 5.0.28
Hey,
The connector tag in the server.xml w
WOW! Awesome! I did not know about that version!
Thanks for mentioning it!
Larry
(downloading now ;-)
>>> [EMAIL PROTECTED] 12/08/04 5:24 PM >>>
Thank you to Larry for suggesting JProbe, there is a community edition
that does all i need,
Cheers
Rich
QM wrote:
> On Wed, Dec 08, 2004 at 11:2
Hey,
The connector tag in the server.xml where you mention the port for ajp13
is the place where you should specify the thread configuration.
You can find more information here:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/ajp.html
Hope it helps.
Arnab
-Original Message-
From
And then there are the cases that would be deemed OT only to end up as a
full blown Tomcat discussion.
Some guy asked a question about IIS and at first it's OT. But after a few
exchanges the solution is Tomcat.
So even if the person is OT sometimes the answer is Tomcat.
Doug
- Original Mess
> That said, lengthly threads that banter about the merits of
> various JSRs and specs clearly don't belong here and should
> either be relocated or (more likely), marked OT.
Where Tomcat is used as the reference implementation for the
Servlet and JSP specs, and where the mission of the Tomcat
Personally, it seems like truly off-topic messages get tagged pretty
quickly on this list. I think that's a reasonable solution to handle
this problem.
As for the *root* of the problem, the VAST majority of questions come
from novice users who, predictably, don't know the difference between a
On Wed, 2004-12-08 at 17:41, Roberto Cosenza wrote:
> I'm not talking about moderating but about informing the users that this is
> not the right place.
> Many important (and related) question do not get enough attention in this
> sea of messages.
> /rob
I think this page:
http://jakarta.apache.or
Dear Tomcat users,
I'm a new tomcat user evaluating it for FreeBSD5.2. I'm trying to ascertain
how well Tomcat will scale from 1- to 2- and 4-proc BSD machines. The only
problem is, no matter how I configure workers.properties and server.xml, I
get about the same RPS and TTLB for all setups,
> String id = request.getRequestedSessionId();
> if (null==id)
> {
> // there was no jsessionid in the request
> }
> else if (request.isRequestedSessionIdValid())
> {
> // there was a valid jsessionid in the request
> }
> else
> {
> // there was an invalid jsessionid in the reques
On Wed, 8 Dec 2004 09:10:02 -0500, Shapira, Yoav <[EMAIL PROTECTED]> wrote:
>
> When a "spike" appears "for a long time" it's not a spike: it's the
> steady state.
Yes, it's the steady state. I just aim at the gc figure, the spike.
Maybe this word don't discribes the figure exactly. I am sorry fo
Following my comments below I thought I'd follow up a bit with some brief
testing of my own.
This is what I think it going on. Someone with more knowledge/experience,
please correct me if anything I say here is wrong. I'm assuming that the
browser is cooperating with sessions OK, i.e. not config
We're pleased to announce the availability of the Early Draft Review
of the next versions of the specification for JavaServer Pages and
Faces. JavaServer Pages (JSP) 2.1 is developed under JSR-245 and
JavaServer Faces (Faces) 1.2 is developed under JSR-252. The two
expert groups are working toget
Thank you to Larry for suggesting JProbe, there is a community edition
that does all i need,
Cheers
Rich
QM wrote:
On Wed, Dec 08, 2004 at 11:29:09PM +, Cumbers wrote:
: Just wondering if there are any profilers for Tomcat5 that are free,
: currently a student working on a final year project
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/setup.html
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg126929.html
- Original Message -
From: "Stephen Charles Huey" <[EMAIL PROTECTED]>
To: "Tomcat User" <[EMAIL PROTECTED]>
Sent: Wednesday, December 08, 2004 12:54 PM
Subje
Is it actually possible to use a load balancing appliance (Big IP) with
a couple of web servers running standalone Tomcat 4? Actually, I know
it's possible...what I mean is, do I have to do anything special with
Tomcat, or can I set each Tomcat up as if it was the only server, and
then just put th
Hi,
Sorry this might be a newbie question, I'm an intern and I have no idea
what's going on here.
We are trying to setup an automated J-Unit test from Ant using Cruise
Control where we need multiple copies of tomcat servers running (by
supplying different server.xml files).
I tried u
hello ,
when i run jakarta-tomcat-5.0.19-13 on SuSE linux Enterprise server 9
/etc/init.d/tomcat start is start done but when write url in the browser
"localhost:8080 is appear blank screen not open index of tomcat home
page what can i do
--
On Wed, Dec 08, 2004 at 11:29:09PM +, Cumbers wrote:
: Just wondering if there are any profilers for Tomcat5 that are free,
: currently a student working on a final year project and it would be nice
: to run a profiler over our webapp, but being a student, cost is an
: issue! Any info very m
On Wed, Dec 08, 2004 at 11:41:28PM +0100, Roberto Cosenza wrote:
: Many important (and related) question do not get enough attention in this
: sea of messages.
"Get enough attention?"
Please explain.
As someone who answers to questions now and then (I used to respond more
often ;) I'll tell you,
JProbe is the coolest profiler on the planet, expensive, but you can get
a 2-week trial version...if that is enough time.
If not, netbeans has one called JFluid as a plug-in that is free.
Larry
>>> [EMAIL PROTECTED] 12/08/04 4:29 PM >>>
Hey guys
Just wondering if there are any profilers for Tom
Hey guys
Just wondering if there are any profilers for Tomcat5 that are free,
currently a student working on a final year project and it would be nice
to run a profiler over our webapp, but being a student, cost is an
issue! Any info very much appreciated!
Cheers
Rich
--
From: "Roberto Cosenza" <[EMAIL PROTECTED]>
> I'm not talking about moderating but about informing the users that this
is
> not the right place.
> Many important (and related) question do not get enough attention in this
> sea of messages.
How do you know that's not happening? I often reply priva
DO NOT EVER use deleteOnExit(). Especially not in something like a web app,
which has an indeterminate but generally long lifetime. Consider the API
removed from Java. Period.
Instead, use the PhantomReference-based code that I contributed to Jakarta
Commons. (A) it works. (B) it cleans up du
I'm not talking about moderating but about informing the users that this is
not the right place.
Many important (and related) question do not get enough attention in this
sea of messages.
/rob
- Original Message -
From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EM
le 8/12/04 22:33, Larry Meadors à [EMAIL PROTECTED] a écrit :
> If you have a String, you could use c:out, and the escapeXml attribute.
>
[EMAIL PROTECTED] 12/8/2004 1:33:00 PM >>>
> Hi,
>
> The current version of Safari has no support for pure XML "à la Internet
> Explorer". What a pity !
[EMAIL PROTECTED] wrote:
I am using Tomcat 5.5 on WindowsXP. Tomcat is installed as a "service",
Somehow when Tomcat is installed as a Windows service, the shutdown
doesn't go through the orderly steps (i.e. servlet destroy()s aren't
called, and I suspect the process is just *killed* instead of
Sorry if this has been asked before. I searched archive but couldn't find
exactly
what I'm looking for.
The issue happened is that when using Tomcat5 and deploying web applications
with same context root (path), the second web app deployed (and Tomcat
restarted) will still have browser pointing
> From: Roberto Cosenza [mailto:[EMAIL PROTECTED]
> Subject: Tomcat mailing list is full of non tomcat topics
>
> Isn't it time to route this traffic to other mailing lists?
Are you volunteering to be the policeman? Believe me, moderating any mailing
list is a thankless task. Been there, done
Hi cats worldover.
It's been a while that I've reading the posts on this mailing list and I can
easily say that about 30% are not pertinent to tomcat but are related to web
technology in general. Isn't it time to route this traffic to other mailing
lists? Can't the tomcat project host new list
If you have a String, you could use c:out, and the escapeXml attribute.
>>> [EMAIL PROTECTED] 12/8/2004 1:33:00 PM >>>
Hi,
The current version of Safari has no support for pure XML "à la Internet
Explorer". What a pity !
I was wondering if there is a simple way to convert an XML document to HTML
Will tomcat wait until time consuming requests are completed before shutting
down?
/rob
- Original Message -
From: "Shapira, Yoav" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, December 08, 2004 9:36 PM
Subject: RE: Tomcat synchronous shutdown?
Hi,
The
Shapira, Yoav wrote:
Hi,
The Tomcat shutdown script provides support for a -force option, which
does a kill -9 on the process ID after the normal shutdown.
If you want something beyond that, do it yourself. Accounting for
reasons like an OOME or your own code spawning non-daemon threads is
outside
Use mozilla and or Firefox. It works perfectly for me
Eric VERGNAUD wrote:
Hi,
The current version of Safari has no support for pure XML "à la Internet
Explorer". What a pity !
I was wondering if there is a simple way to convert an XML document to HTML
that would display properly in Safari.
This i
Hi Yoav,
Thanks for the response I will be sure to include my
Thread dump. Meanwhile it sames that AJP13 in Tomcat5
has no parameters such as maxSpareThreads, maxThreads,
etc. We are using AJP13 to handle all requests... The
documentation (and all searches I have done) do not
mention the ability t
Hi,
The Tomcat shutdown script provides support for a -force option, which
does a kill -9 on the process ID after the normal shutdown.
If you want something beyond that, do it yourself. Accounting for
reasons like an OOME or your own code spawning non-daemon threads is
outside Tomcat's scope.
"
Hi,
The current version of Safari has no support for pure XML "à la Internet
Explorer". What a pity !
I was wondering if there is a simple way to convert an XML document to HTML
that would display properly in Safari.
This is merely an utility, and all I'm looking for is something that will
make
Currently Tomcats shutdown model is to "politely request" that the
server shutdown.
Most of the time Tomcat is friendly and will shutdown as requested but
sometimes it won't do as its told and run forever. This seems to happen
if a shutdown hook has problems or it runs out of memory. This is
> I compared two servlets' source code compiled from JSPs,
> at the beginning of one jsp I add page directive:
> <[EMAIL PROTECTED] isThreadSafe="false" %>
> and the other, <[EMAIL PROTECTED] isThreadSafe="true" %>.
>
> But the two servlet are the same , I had thought the first
> servlet will i
Now you have to turn on security in Tomcat. If you want to talk to the
AD for this purpose, well, lots of luck. You will need a custom realm or
to implement this by hand in your servlets.
Once you have security enabled at all, the browser (on Linux or
wherever) will pop up a 'basic auth' dialog, a
You don't need IIS to get rid of 8080. You need to shut down IIS and
reconfigure server.xml to put tomcat on port 80.
However, if you get rid of IIS, you can't possibly have domain login
unless you want to write your own NTLM realm.
-Original Message-
From: Aris Javier [mailto:[EMAIL PRO
I've run into a bug that I only experience in Tomcat. If, within a
servlet, I create a temporary
file using File.createTempFile(...), Tomcat puts the file in its "temp"
directory, which is fine. However,
if I call deleteOnExit() on the file, the file doesn't get deleted when
Tomcat is shut dow
Thanks for the info Yoav; however, I've tried what you suggested, and
everything I can think of myself, and no luck.
I don't know of anything in the declarative security that would help with
this. Most of my apps use the standard for security, but there's one app
that uses it's own login from a da
You might find some interesting opinions on this book, by the author, at
this O'Reilly page. I'm not trying to push this book. I just find it
interesting to juxtapose the high praise it gets there and elsewhere with
the cold shower it's gotten in this thread:
http://www.oreilly.com/news/ksmanifest
Hi,
RTFM: the Resource configurations have changed from Tomcat 5.0 to 5.5,
and certainly from 4.x. You need to modify your configuration files
accordingly.
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-resources-howto.htm
l.
Yoav Shapira http://www.yoavshapira.com
>-Original Messag
I have a web app installed in the C:\Program Files\Apache Software
Foundation\Tomcat 5.5\webapps\InfoSeek folder and the servlets are in
.\WEB-INF\classes. A jsp fill-out form gets user input and populates a MySQL
table and at the same time retrieves email address from the another table
and suppose
Thanks for the link. Very informative and best of all, it works!
-- RH
I want to move to Tomcat 5 right now, but can't yet, and for the time
being we need to move from Tomcat 4.1.23 on Windows to 4.1.31 on Red
Hat, so I'm now facing a question of what to do about the port Tomcat
runs on. I've read stuff online that suggests it's best to leave it at
8080 since 80 is a
Thanks for the suggestion, Yoav, but thus far in my experiments, sendError
seems to
--Send "Content-Type: text/html;charset=utf-8"
--Ignore the content I've written (using ServletResponse.getOutputStream()) and
instead send the generic Tomcat HTML 'Server Error' message. Which of course is
even
There are no servers running on the port 8080.I checked myself with netstat -a
and there is no PWS or IIS installed
There is no property Screen Buffer Size over the Properties Window of DOS on
Windows98 Machine. Yes I changed the Initial Size to 50 lines and not more than
that can be done as
Warron French wrote:
Wade that was true originally, but I also stated that I recently discovered the
data was being housed on a MS MSSQL database.
I am very sorry for the confusion.
Merry Christmas & Happy New Year!
Warron French
Sr. Network Engineer
Xtria, LLC
-Original Message-
From: Wad
I'm a bit puzzled. There is something not quite right here (or maybe I'm
not quite understanding correctly). Aren't sessions created as soon as a
JSP within a ServletContext is accessed, irrespective of whether the user
authenticates or not? Thus invalid sessions vs anonymous sessions is not an
Wade that was true originally, but I also stated that I recently discovered the
data was being housed on a MS MSSQL database.
I am very sorry for the confusion.
Merry Christmas & Happy New Year!
Warron French
Sr. Network Engineer
Xtria, LLC
-Original Message-
From: Wade Chandler [mailt
Sorry you misunderstood. The database is Microsoft MSSQL on a Windows box (of
course) on another server.
Merry Christmas & Happy New Year!
Warron French
Sr. Network Engineer
Xtria, LLC
-Original Message-
From: Phillip Qin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 10:
You may not even need to use the Apache HTTPD web server, in which case
you should just have Tomcat listen on port 80 itself, and refer to the
documentation for Hosts on the Tomcat site.
If you really need to use the Apache web server, you'd probably get
better advice from the HTTPD list for your
> From: Warron French [mailto:[EMAIL PROTECTED]
> Yes, I do have JBoss-3.2.5 running on this server. I have
> also recently
> found out that the data is on a windows server running MSSQL.
> Any ideas on how to test that connectivity?
One approach is to start SQL Profiler on the SQL Server box
Peter Crowther wrote:
From: Phillip Qin [mailto:[EMAIL PROTECTED]
If you want to test the MySQL connectivity, make sure that
MySQL server
allows your IP to remote login otherwise you will have to
GRANT PRIVILEDGE.
The original poster specified MSSQL noy mySQL. Two irritatingly close
acronyms,
Hi,
Why does a
directive not work under tomcat 5 (jdk1.5), but works under tomcat 5 and
jdk1.4 with the compat package for tomcat?
Greets thomas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
> From: Phillip Qin [mailto:[EMAIL PROTECTED]
> If you want to test the MySQL connectivity, make sure that
> MySQL server
> allows your IP to remote login otherwise you will have to
> GRANT PRIVILEDGE.
The original poster specified MSSQL noy mySQL. Two irritatingly close
acronyms, I agree!
If you want to test the MySQL connectivity, make sure that MySQL server
allows your IP to remote login otherwise you will have to GRANT PRIVILEDGE.
-Original Message-
From: Warron French [mailto:[EMAIL PROTECTED]
Sent: December 8, 2004 10:42 AM
To: Tomcat Users List
Subject: RE: I don't k
THANK YOU!
It will be forthcoming!
Merry Christmas & Happy New Year!
Warron French
Sr. Network Engineer
Xtria, LLC
8045 Leesburg Pike #400
Vienna, VA 22182
Desk: 703-821-6110
Main: 703-821-6000
Fax: 703-827-0374
-Original Message-
From: Robert F. Hall [mailto:[EMAIL PROTECTED]
Sent: Tu
Yes, I do have JBoss-3.2.5 running on this server. I have also recently found
out that the data is on a windows server running MSSQL. Any ideas on how to
test that connectivity?
Merry Christmas & Happy New Year!
Warron French
Sr. Network Engineer
Xtria, LLC
8045 Leesburg Pike #400
Vienna, VA
Hi,
>I see in the manager app that only server status information about
>connections to the manager app has "extended information" attached to
>it.
That's not exactly true. The application status, VM state, and thread
pool status is output for all applications on the Host.
Have you tried doing
Hi,
I guess you're not a big fan of JavaDocs? ;) Check out the JavaDoc for
HttpServletRequest#getPathInfo, especially the "Returns" section, which
is fairly unambiguous as these things go:
"Returns:
a String, decoded by the web container, specifying extra path
information that comes after the ser
Hi,
Once you get the thread dump, post it, and we can try to help you figure
out what's wrong. The Tomcat thread pools should automatically recover
unused threads, subject to your configuration (see the maxSpareThreads
and releated Connector configuration attributes).
Yoav Shapira http://www.yoa
Hi,
You're right that a static request dispatcher is a negligible
performance gain for a large thread-safety risk. You can obviously test
it out with a client that will send multiple concurrent test requests.
But if you don't have the time or desire to test it out, you can know
that obtaining a r
Hi,
Besides what Dale said, which is true, I'd like to point out a couple of
other additional things.
>Those memory spikes appear in my Web application for a long time. The
odd
When a "spike" appears "for a long time" it's not a spike: it's the
steady state.
>This is three pictures of the gc l
Any pointers on this one please...its urgent
- Original Message -
From: Mayuresh Kshirsagar
To: [EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 3:27 PM
Subject: Multiple domains on single machine
Hi I have setup a test machine so that it should host two sit
Hi,
>> From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>> Tomcat is not deficient or lacking here in any way: if
>> something is lacking, it's the Servlet Spec, but I personally
>> don't think it's lacking because there's still a use-case for
>> the no-filesystem servlet container.
>
>Hmm. Sorry,
Hi,
>I'm using tomcat 4.1.30 as it is with standard MemoryRealm
implementation.
Ahh, I assumed you were using 5.x, my bad there. I haven't used 4.x in
a while and don't want to waste time on it, so I believe you.
>The username/passwords are created using the tomcat-users.xml, but If I
>change
> From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
> Tomcat is not deficient or lacking here in any way: if
> something is lacking, it's the Servlet Spec, but I personally
> don't think it's lacking because there's still a use-case for
> the no-filesystem servlet container.
Hmm. Sorry, Yoav, but
Hi,
You know, the JavaDoc for HttpServletResponse#setStatus is pretty clear
on this ;) Use sendError for errors, setStatus for normal responses.
Yoav Shapira http://www.yoavshapira.com
>-Original Message-
>From: Dunlop, Aaron [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, December 07, 2004
The fact that you have the same symptons in tomcat 4 and in 5 points towards
your application as being the culprit.
Is there any reason why you chose tomcat 5.0.18 instead of one of the many
newer releases?
I would find another profiler that works with both and try your tests again.
Ta
Matt
Hi,
What Wendy said is right on, so I'm glad you're already down that path.
If the files are temporary, i.e. you don't mind them being erased when the
server restarts, you can use the javax.servlet.context.tempdir context
attribute. That's the portable, preferred way to handle temporary files.
It appears that the application taglib docs are out of date, and I'm
trying to configure this taglib. One example of it being out of date is
that it refers to application.tld, which currently is
taglibs-application, not application. Even the example fails to load.
Maybe this is because I'm usin
Hi folks,
I am puzzled by the situation that Tomcat 4.1.31 meets sudden spikes of used
memory sometimes. Then it will increase to throw OutOfMemory Exception and
tomcat is hanging.
Those memory spikes appear in my Web application for a long time. The odd
thing is that it does not seem to progressi
I'm looking at design options for a servlet that uses forwarding. If
I were to get a RequestDispatcher in the init method (from
ServletContext) and store it as a static field, it would save getting
a RequestDispatcher for every request object.
That may minimise unnecessary repetition, but I won
Solved.
For any of you using Websphere Studio to attach and debug a remote Tomcat
instance be warned. The line numbers seem to be one out on my class and it
worked when I put more than one LOC and a few more debug points (As well as
some logging thanks Ben ;) )
Original Message Follows
Vamsee Kanakala wrote:
Hi all,
I have a problem when I start tomcat from inside eclipse
I found out the problem. It's not about the plugin per se, it must be
the fact that eclipse starts tomcat or something... Anyways, I googled
for similar error messages, turns out that security.policy i
I see in the manager app that only server status information about
connections to the manager app has "extended information" attached to
it.
For our production webapp the only information is that it is a Keep
alive connection, and it has no metric about bytes sent or received,
or what the request
> I have not extended httpservlet, I don't see why I would have to do >
> this?
You don't... sorry (was still on first cup of coffeee ;))
You've tried putting println statements in the sessionCreated and
sessionDestroyed methods to verify that they're not being called?
On Wed, 2004-12-08 at
Confirmed that request.getSession(false)==null for both expired session
requests and anonymous requests, if I have <%@ page session="false" %> in
my pages.
I just figured out the follow which work exactly what I wanted:
boolean hasSessionID =
(request.isRequestedSessionIdFromURL() ||
Hi Ben,
I have not extended httpservlet, I don't see why I would have to do this?
package helpers;
import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpSessionListener;
public class SessionHelper implements HttpSessionListener {
public void sessionCreated(HttpSessionEve
> Sorry what I mean is that the methods implemented for the
> HttpSessionListener do not get called when I invoke a new session.
You've extended HttpServlet, implemented HttpSessionListener, and the
code in the sessionCreated(HttpSessionEvent event) method is not being
called when you create a n
Sorry what I mean is that the methods implemented for the
HttpSessionListener do not get called when I invoke a new session.
Original Message Follows
From: Ben Souther <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: Tomcat Users List <[EMAIL PROTECTED]>
Subject: Re: HttpSessionListene
> My SessionHelper class implements HttpSessionListener and in my local test
> environment it works fine. But on my Tomcat I get zilch nowt yadda.
>
What do you mean when you say you get nothing on Tomcat?
What are you trying to do?
-
I am sure this has ben tackled by somebody before.
In my web.xml I have
Site
helpers.SessionHelper
My SessionHelper class implements HttpSessionListener and in my local test
environment it works fine. But on my Tomcat I get zilch nowt yadda.
Any
I haven't tested this, but I *think* that a request containing an expired
session will still return a non-null session object, but a different
instance to the one that would have been returned pre-timeout. But I don't
know that for a fact. why not just test it out yourself, it's not that
hard, ju
Hi I have setup a test machine so that it should
host two sites
1. http://admin
2. http://support
But only one (http://admin) is accessible and the other one is not.
Can you give any pointers.
I set up virtual hosts as
(httpd.conf):
NameVirtualHost *:80
ServerName
adminServerAdmin
2. you can use kill -3 command to dump the thread stack and execute the same
command few seconds later. You obtain two stack trace that you can compare
to identify the potential source of inativity.
-Message d'origine-
De : Matt Robinson [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 8 décem
> > if you call request.getSession(false) this will return null if the
> > request is not associated with a request already. the "false" param
> > turns off the default behaviour of creating a new session when none
> > exists.
On Wed, 2004-12-08 at 04:35, LAM Kwun Wa Joseph wrote:
> But does it h
But does it have the same effect for a request with an expired session vs
a request with no session at all? I think it will return null in both
cases.
> if you call request.getSession(false) this will return null if the
> request is not associated with a request already. the "false" param
> turns
Sorry if I'm being stupid, but it simply doesn't match my experiences.
I'm using tomcat 4.1.30 as it is with standard MemoryRealm implementation.
The username/passwords are created using the tomcat-users.xml, but If I
change these without restarting tomcat the usernames and passwords are not
bei
if you call request.getSession(false) this will return null if the request
is not associated with a request already. the "false" param turns off the
default behaviour of creating a new session when none exists.
> -Original Message-
> From: LAM Kwun Wa Joseph [mailto:[EMAIL PROTECTED]
> S
Hi,
How can I tell between a request using an expired session vs a request
with no session at all? I need to show different messages to users being
kicked due to inactivity and to anonymous users. Thanks!
Regards,
Joseph Lam
-
96 matches
Mail list logo