W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 2000

Re: Servlets in root - How do i configure

From: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>
Date: Tue, 29 Aug 2000 15:04:48 +0200
Message-ID: <39ABB4F0.53AB8BEC@sophia.inria.fr>
To: Ashok Katariya <AshokK@Exchangenext.com>
CC: www-jigsaw@w3.org
Two solutions:

1) Replace the HTTPFrame of the root resource by a ServletDirectoryFrame
2) Put a fake resource in the root directory that perform a redirection on your servlet
    (read [1] to know more about redirections in Jigsaw)

[1] http://www.w3.org/Jigsaw/Doc/User/redirection.html

Regards, Benoit.

Ashok Katariya wrote:

>
>
> Hi,
>         How does one map servlets in jigsaw. (something similar to mappings.properties concept in
> jsdk)
>
> Basically i have servlets which have to be referred as http://server/servletname
> I tried putting the servlets in the servlet directory.It works fine.
> What should i do to put my servlets in the root directory and use them with the above url
> I am using Jigsaw for windows.
>
> Can any one help me?

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

                http://www.w3.org/People/Mahe  - bmahe@w3.org
---------------------------------------------------------------------
Received on Tuesday, 29 August 2000 09:05:13 GMT

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