Well, can you please help me to set up tomcat properly. My needs are to have the servlet which handles all requests to server: so, requests like http://myserver.con/somecontextpath/somescript will be handeled as well as http://myserver.con/anothercontextpath/anotherscript.
I see that by default Tomcat is configured to use Default servlet to handle such requests. I would use my own. Can you please help me? On Wednesday 16 June 2004 17:20, Shapira, Yoav wrote: > Hi, > The path for the root context is "" not "/". The directory name ROOT is > just a choice: the context whose path is "" doesn't have to be located > at a directory named ROOT. > > Yoav Shapira > Millennium Research Informatics > > >-----Original Message----- > >From: Arsen A. Gutsal [mailto:[EMAIL PROTECTED] > >Sent: Wednesday, June 16, 2004 10:14 AM > >To: [EMAIL PROTECTED] > >Subject: Deployment to ROOT context > > > >Hello all. > >I have such problem: > >I'm working on some web-application and I need my servlet change > > default > > >servlet. So I'm publishing my web-application to default (ROOT) context > >(/). > >I'm using NetBeans 3.6 and tomcat 5.0.19. When I try to deploy my > >web-application automatically I'm getting strange problems like: > >No context exists for path / > >or > >IllegalStateException: Container StandardContext[] has not been > > started. > > >I will appreciate any help. > > > > > >On Wednesday 16 June 2004 17:04, [EMAIL PROTECTED] > > wrote: > >> Hi! This is the ezmlm program. I'm managing the > >> [EMAIL PROTECTED] mailing list. > >> > >> I'm working for my owner, who can be reached > >> at [EMAIL PROTECTED] > >> > >> Acknowledgment: I have added the address > >> > >> [EMAIL PROTECTED] > >> > >> to the tomcat-user mailing list. > >> > >> Welcome to [EMAIL PROTECTED] > >> > >> Please save this message so that you know the address you are > >> subscribed under, in case you later want to unsubscribe or change > > your > > >> subscription address. > >> > >> > >> --- Administrative commands for the tomcat-user list --- > >> > >> I can handle administrative requests automatically. Please > >> do not send them to the list address! Instead, send > >> your message to the correct command address: > >> > >> To subscribe to the list, send a message to: > >> <[EMAIL PROTECTED]> > >> > >> To remove your address from the list, send a message to: > >> <[EMAIL PROTECTED]> > >> > >> Send mail to the following for info and FAQ for this list: > >> <[EMAIL PROTECTED]> > >> <[EMAIL PROTECTED]> > >> > >> Similar addresses exist for the digest list: > >> <[EMAIL PROTECTED]> > >> <[EMAIL PROTECTED]> > >> > >> To get messages 123 through 145 (a maximum of 100 per request), mail: > >> <[EMAIL PROTECTED]> > >> > >> To get an index with subject and author for messages 123-456 , mail: > >> <[EMAIL PROTECTED]> > >> > >> They are always returned as sets of 100, max 2000 per request, > >> so you'll actually get 100-499. > >> > >> To receive all messages with the same subject as message 12345, > >> send an empty message to: > >> <[EMAIL PROTECTED]> > >> > >> The messages do not really need to be empty, but I will ignore > >> their content. Only the ADDRESS you send to is important. > >> > >> You can start a subscription for an alternate address, > >> for example "[EMAIL PROTECTED]", just add a hyphen and your > >> address (with '=' instead of '@') after the command word: > >> <[EMAIL PROTECTED]> > >> > >> To stop subscription for this address, mail: > >> <[EMAIL PROTECTED]> > >> > >> In both cases, I'll send a confirmation message to that address. When > >> you receive it, simply reply to it to complete your subscription. > >> > >> If despite following these instructions, you do not get the > >> desired results, please contact my owner at > >> [EMAIL PROTECTED] Please be patient, my owner is > > a > > >> lot slower than I am ;-) > >> > >> --- Enclosed is a copy of the request I received. > >> > >> Return-Path: <[EMAIL PROTECTED]> > >> Received: (qmail 5210 invoked by uid 99); 16 Jun 2004 14:04:43 -0000 > >> Received: from [217.196.165.116] (HELO marlboro.softsky.com.ua) > >> (217.196.165.116) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 16 > > Jun > > >> 2004 07:04:43 -0700 Received: from trussardi.softsky.com.ua > >> (trussardi.softsky.com.ua [192.168.0.3]) by marlboro.softsky.com.ua > >> (Postfix) with ESMTP id C325B48E8 > >> for > >> <tomcat-user-sc.1087394577.kncghobmmenifedhklpn- > > > >[EMAIL PROTECTED] > > > >>a.apache.org>; Wed, 16 Jun 2004 16:42:23 +0300 (EEST) From: "Arsen A. > >> Gutsal" <[EMAIL PROTECTED]> > >> Reply-To: [EMAIL PROTECTED] > >> Organization: SOFTSKY > >> To: > >> tomcat-user-sc.1087394577.kncghobmmenifedhklpn- > > > >[EMAIL PROTECTED] > > > >>.apache.org Subject: SUBSCRIBE > >> Date: Wed, 16 Jun 2004 17:04:27 +0300 > >> User-Agent: KMail/1.6.2 > >> MIME-Version: 1.0 > >> Content-Disposition: inline > >> Content-Type: text/plain; > >> charset="us-ascii" > >> Content-Transfer-Encoding: 7bit > >> Message-Id: <[EMAIL PROTECTED]> > >> X-Virus-Checked: Checked > > > >-- > >Sincerely, > >Arsen A. Gutsal > > > >SOFTSKY > >Cost Effective Software Development > >http://www.softsky.com.ua > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > This e-mail, including any attachments, is a confidential business > communication, and may contain information that is confidential, > proprietary and/or privileged. This e-mail is intended only for the > individual(s) to whom it is addressed, and may not be saved, copied, > printed, disclosed or used by anyone else. If you are not the(an) intended > recipient, please immediately delete this e-mail from your computer system > and notify the sender. Thank you. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Sincerely, Arsen A. Gutsal SOFTSKY Cost Effective Software Development http://www.softsky.com.ua --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]