tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Stabiszewski" <adr...@nitegate.de>
Subject Re: web.xml question
Date Tue, 05 Dec 2000 13:29:44 GMT
The Tomcat FAQ has only one answer to your question about the servlets as start pages:

      Can a servlet take the place of an index page? In other words, can
http:/myserver.mydomain.com/ execute a servlet rather than serve an index page? mhempel
Last Mod: 2000-04-06 15:25:26.0
      Of course it can. There are two ways to do this. Make the index page of the site
simply redirect to your Servlet or you can use mod_rewrite within Apache.



web.xml
I dont think that you have to register your servlets there. I havn't changed this file and
my servlets work fine.





----- Original Message -----
From: "Vanja Vlaski" <vojistasica@hotmail.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Tuesday, December 05, 2000 1:17 PM
Subject: web.xml question


> In web.xml do I have to register all the servlets I will use or only first
> one that is being invoked?
> Also how do I call servlet first instead of index.html?
>
>
> Thanks
>
> >From: "G.Nagarajan" <gnagarajan@dkf.de>
> >Reply-To: tomcat-user@jakarta.apache.org
> >To: <tomcat-user@jakarta.apache.org>
> >Subject: RE: tools for Stress Testing
> >Date: Tue, 5 Dec 2000 11:29:55 +0100
> >
> >tools for Stress TestingHi,
> >Try OpenSta.org, MS web stress tool, www.rswsoftware.com.
> >
> >These should help. I am using OpenSta for testing my jsps and servlets and
> >it takes care of handling
> >cookies.
> >
> >Cheers,
> >Nagaraj.
> >   -----Original Message-----
> >   From: Chris Chen [mailto:cchen@algorithmics.com]
> >   Sent: Monday, December 04, 2000 9:06 PM
> >   To: 'tomcat-user@jakarta.apache.org'
> >   Subject: tools for Stress Testing
> >
> >
> >   Hi all,
> >
> >    I am just wondering if there is a way to do a stress testing on my
> >jsp/servlet
> >   pages even I am using the session tracking in my application.
> >
> >   for example, I have:
> >   1.jsp for user logon checking
> >   2.jsp for loading data from database
> >   3.jsp for business data calculation
> >   4.jsp for modifying data to database
> >
> >   The application works like:
> >    when user passed 1.jsp, there will be a set of data in their session,
> >hold by
> >   Java data Beans, from database. Base on those data, 3.jsp will
> >performance
> >a
> >   certain business logic, then 4.jsp will write data to database.
> >
> >    I want to build a set of benchmark/stress testing for all those *.jsp
> >pages.
> >   How long it will take? How's the response performance? ...
> >
> >   How could I do this? Is there any this kind of tools?
> >   By using Tomcat, how can I let tomcat know that I am in the session, and
> >performance certain data set for me?
> >
> >   Regards,
> >    Chris
> >
>
> _____________________________________________________________________________________
> Get more from the Web.  FREE MSN Explorer download : http://explorer.msn.com
>


Mime
View raw message