Re: Warpoing a particular files to a Servlet accross the www directory

You can do that with the RedirecterFrame that perform an internal
redirect
to another resource. So, configure you default indexer [1] to create a
FramedResource
associated to a RedirecterFrame for chtml files, put the servlet uri in
the target field of the
RedirecterFrame (How to create an configure a resource [2] [3])

PS: when you are looking for a specific Jigsaw resource, take a look at
the Reference
documentation [2].

[1] http://www.w3.org/Jigsaw/Doc/User/indexers.html
[2] http://www.w3.org/Jigsaw/Doc/User/resource.html
[3] http://www.w3.org/Jigsaw/Doc/User/attributes.html
[4] http://www.w3.org/Jigsaw/Doc/Reference/Overview.html

Regards, Benoit.

Eugene wrote:

> Hi,
>  Help!!!  I am new in configuring
> web server and my question must seem
> to be very stupide. I have read most
> of  FAQ and mailing list achrive.  I
> appreciated all help, pointers and
> hints.   I have been working on
> configuring jigsaw web server for
> three days trying to
> wrapping/redirecting a particular
> type of file to a servlet. I am not
> sure it is possible or not.
>
> I have created a default file type
> with the extension of chtml and I
> hope to redirect them to a servlet
> when a there is request for that
> type of files to the web server.  I
> was successful in redirecting one
> file in the servlet-indexed
> directory at a time to the servlet
> and able to get the servlet to work
> only after physically index them.
> Is there a way to configure the
> server to redirect all the requests
> of that type of file to a servlet
> across the whole www directory using
> ServletWrap or existing extensions.
>
> Thanks in advance for all the help.
>
> Eugene

--
- 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 Wednesday, 20 January 1999 05:18:55 UTC