Hi,
You can follow the advice to use a single dispatcher servlet for all
requests that keeps track of newly created sessions and replies accordingly:
If the session is new and the request asks for a page (or frame content)
that would not be requested for new sessions, redirect to a page that
Hi!
Yes, I think you should carefully monitor response times and system load.
The number of users is not a metric on it's own right as its impact heavily
relies on the application itself.
If you want to improve, the first thing to look at is the application, not
the servlet-container. For
Hi,
have you set your CLASSPATH env variable or are you providing a classpath
(-classpath directory:directory:directory/file.jar.) with your command
line?
Additionally you have to provide the fully qualified Classname
(package.package.package.ClassName, for example
Hi Samarth,
yes, tomcat shows up as java process(es).
Do you get the SegFault as well when you start?
Could be a problem with your jdk. What jdk are you using?
Do you have other java applications running without problems?
Mika
^X^S
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL
Hi!
What is the putSession() method of a HttpSession?
Do you mean putValue?
First, this is a deprecated method, but second, StandardSession implements
that method anyway.
StandardSession is org.apache.catalina.session.StandardSession, and
implements HttpSession, which is an interface and as such
is started up. At the same
time,
there is no java process running on doing a ps -ef. I am using JDK 1.3
downloaded from java.sun.com. The JDK installed without any hassles. I
don't
have any other java applications running so cannot say.
Samarth
Mika Goeckel [EMAIL PROTECTED] on 12/13
Hmmm
the difference between these two constructors is, that the one which takes a
StandardSession upcasts it to HttpSession before assigning it to it's
session attribute,
this should not cause this problem, as StandardSession does implement all
HttpSession methods (otherwise the compiler
Session in use:
From the jsps,
NumberGuess, Snoop, ErrorPage (after submitting the form), Carts (after
submitting) (I did stop testing here)
From the servlets only the session example.
Mika
- Original Message -
From: Richard S. Huntrods [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
Hi dirk,
what are you looking for? An architecture or a plain jsp that get's a
reference to an ejb?
Tomcat is not an ejb server, so you will probably have to look at jguru or
similar to find jsp examples.
Mika
- Original Message -
From: storck [EMAIL PROTECTED]
To: Jboss User (E-Mail)
Hi Sergey,
you can use sudo -u tomcat /path-to-the-dist-dir/bin/startup.sh to start
the instance up as another user. However, this restricts the ports to above
1024, because other than apache, tomcat does not have the feature to start
up as root, gain the socket for port 80 and change the user
Nick,
unfortunately I know no straight workaround. The getClass method in
java.lang.Object is declared final and you would if you could override that
risk that the jre completely screws up.
You could of course call it CLASS. From a code purist's point of view that
would be blasphemic, but it
Hi!
Versuch mal nach dem examples einen slash, also
WebAppDeploy examples warpConnection /examples/
und dann auch in der url. Ich glaube mich erinnern zu können, daß das bei
mir auch da gehakt hat.
Grüße, Mika
- Original Message -
From: martin eberle [EMAIL PROTECTED]
To: Tomcat
Chris,
sessions are there by default, you can only avoid them by specifying in your
%@ page session=false directive to disable them.
Sessions are in use once you declare a jsp:usebean id=something
scopesession with session as scope.
Cheers, Mika
:wq
- Original Message -
From:
Yep, Craig, I forgot about servlets :-)
- Original Message -
From: Mika Goeckel [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, November 14, 2001 12:23 AM
Subject: Re: Principal caching with authentication
Chris,
sessions are there by default, you can only
Hi Dr.Evil,
have you had a look on the jakarta-struts project? At a first glance it may
look a little bit complicated, but it implements a MVC approach and could
possibly deliver a bunch of already written code for your project. Getting
started is very easy, it's sufficient to place (one of) the
Heya!
Try calling the doGet(HttpServletRequest request, HttpServletResponse
response) method of your servlet class, it will use out to write to your
jsp's stream.
Btw, you can compile your jsp into a servlet (i.e. get the java source) if
you manually invoke the jspc with the keepgenerated option
16 matches
Mail list logo