Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 82777 invoked from network); 10 Aug 2006 14:01:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Aug 2006 14:01:26 -0000 Received: (qmail 5229 invoked by uid 500); 10 Aug 2006 14:01:14 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 5206 invoked by uid 500); 10 Aug 2006 14:01:14 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 5190 invoked by uid 99); 10 Aug 2006 14:01:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Aug 2006 07:01:14 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of vikas.a.patil@gmail.com designates 64.233.184.239 as permitted sender) Received: from [64.233.184.239] (HELO wr-out-0506.google.com) (64.233.184.239) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Aug 2006 07:01:11 -0700 Received: by wr-out-0506.google.com with SMTP id 68so68092wra for ; Thu, 10 Aug 2006 07:00:51 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ibD9hnj//Gvsd7LNxtHKl/oucc83YgULNENhUaTg9JRfNm2bACgkyP72Sryr7u+Nm4i3xnijLRiZs289wHGFORkMveb/CwdVzJILEm0mlEhrvq+IdPIA3nBby+SJyPxbN83478PqFaPQt1+UN596T3gDakLF/yPcSNMn69LvlJU= Received: by 10.78.118.19 with SMTP id q19mr1289932huc; Thu, 10 Aug 2006 07:00:50 -0700 (PDT) Received: by 10.78.198.12 with HTTP; Thu, 10 Aug 2006 07:00:50 -0700 (PDT) Message-ID: Date: Thu, 10 Aug 2006 19:30:50 +0530 From: "vikas patil" To: user@geronimo.apache.org Subject: Re: Problem with deploying a servlet In-Reply-To: <44DB37F5.10601@gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_26849_4918343.1155218450940" References: <6e9fb9cd0608100526v1326d043x5d8fa7552d26b2d4@mail.gmail.com> <44DB37F5.10601@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_26849_4918343.1155218450940 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, Well thanks for that Mario.I got it up and working now. Can I do away with the welcome-file and have the server configured to my servlet for all the requests. Thanks Mario, Vikas On 8/10/06, Mario Ruebsam wrote: > > Vikas, > > using the wildcard in url-pattern in the web.xml should work in 1.1 > > /* > > Do you have the leading forward slash included? > > Thanks, > Mario > > vikas patil wrote: > > Hi, > > Its version 1.1 > > I found out the problem.I was using wild card (*) in the url-pattern > > for the servlet. Well its working fine now. > > But still I am unclear of why cant we use wild cards to specify the > > url-pattern. > > Thanks for the reply. > > > > > > > > On 8/10/06, *Kanchana Welagedara* > > wrote: > > > > Hi Vikas > > > > What is the geronimo version your are using? > > Regards > > Kanchana > > > > > > On 8/10/06, vikas patil > > wrote: > > > Hi all, > > > I have tried deploying this war file amany times. But it > > just does > > > not happen. The strange thing is when I remove the > > geronimo-web.xml file > > > from the WEB-INF directory, it gets deployed. But the servlet is > > not running > > > when observed. Please help me out with this. > > > > > > Yours , > > > > > > Vikas A Patil > > > > > > > > > > > > > > > > -- > > Yours , > > > > Vikas A Patil > > -- Yours , Vikas A Patil ------=_Part_26849_4918343.1155218450940 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,
    Well thanks for that Mario.I got it up and working now. Can I do away with the welcome-file and have the server configured to my servlet for all the requests.
    Thanks Mario,
       Vikas

 
On 8/10/06, Mario Ruebsam <mario.ruebsam@googlemail.com> wrote:
Vikas,

using the wildcard in url-pattern in the web.xml should work in 1.1

<url-pattern>/*</url-pattern>

Do you have the leading forward slash included?

Thanks,
Mario

vikas patil wrote:
> Hi,
>    Its version 1.1
>    I found out the problem.I was using wild card (*) in the url-pattern
> for the servlet. Well its  working fine now.
>   But still I am unclear of why cant we use wild cards to specify the
> url-pattern.
>   Thanks for the reply.
>
>
>
> On 8/10/06, *Kanchana Welagedara* <kanchanas@gmail.com
> <mailto: kanchanas@gmail.com>> wrote:
>
>     Hi Vikas
>
>     What is the geronimo version your are using?
>     Regards
>     Kanchana
>
>
>     On 8/10/06, vikas patil < vikas.a.patil@gmail.com
>     <mailto:vikas.a.patil@gmail.com>> wrote:
>      > Hi all,
>      >         I have tried deploying this war file amany times. But it
>     just does
>      > not happen. The strange thing is when I remove the
>     geronimo-web.xml file
>      > from the WEB-INF directory, it gets deployed. But the servlet is
>     not running
>      > when observed. Please help me out with this.
>      >
>      > Yours ,
>      >
>      > Vikas A Patil
>      >
>      >
>
>
>
>
> --
> Yours ,
>
> Vikas A Patil




--
Yours ,

Vikas A Patil ------=_Part_26849_4918343.1155218450940--