Re: Mapping extension and jar file

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.

Regards, Benoit.

Luc Saint-Elie wrote:

> Hello,
>
> Long time no seen a stupid question from me.. be happy I'm back :)
>
> Well seriously here is an abstract from Cocoon documentation:
>
> ---------------
> 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
>
> Thanks in advance
>
> +------------------------------------------------+
> | 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
---------------------------------------------------------------------

Received on Friday, 26 March 1999 04:29:13 UTC