Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 70530 invoked from network); 14 Oct 2009 07:43:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Oct 2009 07:43:42 -0000 Received: (qmail 5449 invoked by uid 500); 14 Oct 2009 07:43:42 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 5377 invoked by uid 500); 14 Oct 2009 07:43:42 -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 5369 invoked by uid 99); 14 Oct 2009 07:43:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 07:43:41 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [209.85.217.209] (HELO mail-gx0-f209.google.com) (209.85.217.209) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 07:43:38 +0000 Received: by gxk1 with SMTP id 1so12594631gxk.19 for ; Wed, 14 Oct 2009 00:43:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.101.152.13 with SMTP id e13mr6835200ano.107.1255506196134; Wed, 14 Oct 2009 00:43:16 -0700 (PDT) In-Reply-To: <0D2A4BD0-A084-4919-9A3B-AFCA302A84E7@yahoo.com> References: <25875139.post@talk.nabble.com> <8A0895CD-FB01-4ECF-B83E-D0E023F6DA7E@yahoo.com> <1f3854d50910131012h34bb0760saea8ef7ad93d73ef@mail.gmail.com> <0D2A4BD0-A084-4919-9A3B-AFCA302A84E7@yahoo.com> From: Quintin Beukes Date: Wed, 14 Oct 2009 09:42:56 +0200 Message-ID: <1f3854d50910140042r4c11a67ej656f36aee1376b0@mail.gmail.com> Subject: Re: How to deploy plain html-files with geronimo? To: user@geronimo.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Now I learn something new. Thanks :> Quintin Beukes On Tue, Oct 13, 2009 at 8:35 PM, David Jencks wrot= e: > > On Oct 13, 2009, at 10:12 AM, Quintin Beukes wrote: > >> Why does it have to have a servlet at all? > > You need a default servlet to serve static content. =C2=A0Jetty and tomca= t > install one by default in each web app (unless you override it) but these > automatic default servlets serve content from inside the war. =C2=A0If yo= u pack > stuff up in a war, you shouldn't need any servlet :-). =C2=A0If you want = the > content served from somewhere else, you need to configure a default servl= et > to tell it where the "somewhere else" is. > > hope this is clearer :-) > david jencks > > >> >> Quintin Beukes >> >> >> >> On Tue, Oct 13, 2009 at 7:05 PM, David Jencks >> wrote: >>> >>> On Oct 13, 2009, at 8:31 AM, juhanay wrote: >>> >>>> >>>> Hi >>>> My problem is simple. How to deploy plain html-files or a directory to= a >>>> user without packing these things is a war file(like apache web server >>>> does). So that the user may browse the directory stucture with the >>>> browser. >>>> WAR-file is not viable option since i cannot pack all the files in a w= ar >>>> file. >>> >>> Why not? >>> >>> Assuming you have a good answer to that question :-) =C2=A0you can set = up a >>> web >>> app that has only the default servlet for the web container you are usi= ng >>> (jetty or tomcat) and configure it to serve static content from whereve= r >>> it >>> actually is. =C2=A0Unfortunately I don't have an example of how to do t= his >>> handy, >>> but I suspect either jetty or tomcat documentation might explain how to >>> do >>> this. =C2=A0It would be a good thing to get into our docs as well (assu= ming it >>> isn't already there and I just don't know about it). >>> >>> thanks >>> david jencks >>> >>>> -- >>>> View this message in context: >>>> >>>> http://www.nabble.com/How-to-deploy-plain-html-files-with-geronimo--tp= 25875139s134p25875139.html >>>> Sent from the Apache Geronimo - Users mailing list archive at >>>> Nabble.com. >>>> >>> >>> > >