W3C home > Mailing lists > Public > www-jigsaw@w3.org > March to April 1999

Re: Mapping extension and jar file

From: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>
Date: Fri, 26 Mar 1999 11:06:25 +0100
Message-ID: <36FB5C21.9A042EC9@sophia.inria.fr>
To: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>
CC: Luc Saint-Elie <lse@imaginet.fr>, Jigsaw Mailing List <www-jigsaw@w3.org>
Oups, I forgot the URL

[1]
http://www.w3.org/Jigsaw/Doc/Reference/org.w3c.jigsaw.frames.RedirecterFrame.html

Regards, Benoit.

Benoit Mahe wrote:

> Ok, may be an internal redirection could works, so you need to
> modify the default indexer:
>
> First install the cocoon servlet in your servlet directory.
>
> Add a xml node, a FileResource associated to a RedirecterFrame[1] with
> a target field set to the cocoon servlet URL.
>
> I'm not sure it will works because I don't know exactly how the servlet
> get the xml file path.
>
> Regards, Benoit.
>
> Luc Saint-Elie wrote:
>
> > hello,
> >
> > As far as I've understood, the URL call the .xml file and the server must
> > know that in this case it must call the Cocoon servlet.
> >
> > BTW: Cocoon is a project form the Java Apache Project guys that produce
> > regular HTML file from a XML file which is applied a XSL file.
> >
> > http://java.apache.org/cocoon
> >
> > Bonjour (Hello) Benoit Mahe, vous avez écrit le (you wrote on) 10:28
> > 26/03/99 +0100 :
> > >Well it depends on what means exactly "map", The question is
> > >how the servlet know which xml file it needs to handle?
> > >Is it a parameter? Does it analyse the incomming request?
> > >
> > >The source code of this servlet could help to know that.
> >
> > >>
> > >> ---------------
> > >> To install the servlet on your web serving environment, you should map the
> > >> ".xml" extentions (or whichever extension you
> > >>      what to use) to the "org.apache.cocoon.Cocoon" servlet class which is
> > >> contained in the Cocoon.jar file. Follow your servlet engine instructions
> > >> on how to do this. Note: Cocoon.jar stores the class files as well as the
> > >> default properties file.
> > >> -----------------
> > >>
> > >> I know now how to use a jar file (thanks to the list) but I fail to find in
> > >> the doc how to map the xml extention with my coconn.jar
> >
> > +------------------------------------------------+
> > | Luc Saint-Elie                                 |
> > | 53, rue Caulaincourt                           |
> > | 75018  Paris France                            |
> > | Tel: 01 42 52 09 62 / 06 12 90 19 65           |
> > | email : lse@saint-elie.com                     |
> > +------------------------------------------------+
> > | Servlet Taverne a site devoted to servlets     |
> > | ..and looking for a free servlet hosting :-)   |
> > | url : http://www.saint-elie.com                |
> > +------------------------------------------------+
>
> --
> - Benoît Mahé -------------------------------------------------------
>                       World Wide Web Consortium (W3C)
>                     Architecture domain - Jigsaw Team
>
>   http://www.w3.org/People/Mahe - bmahe@w3.org - +33.4.92.38.79.89
> ---------------------------------------------------------------------

--
- Benoît Mahé -------------------------------------------------------
                      World Wide Web Consortium (W3C)
                    Architecture domain - Jigsaw Team

  http://www.w3.org/People/Mahe - bmahe@w3.org - +33.4.92.38.79.89
---------------------------------------------------------------------
Received on Friday, 26 March 1999 05:06:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:29 GMT