Re: servlets in root directory

On Mon, 26 Nov 2001, Christopher William Turner wrote:

> Read about indexers.
> They are responsible for automatically creating
> resources based on file extention/directory.
> Maybe write your own indexer.
>
> Another way might be leaving the servlets in /servlet and then
> use proxy or virtual hosts to map URLS to the form you want.

For the root directory you should do either an internal redirect (using
RedirecterFrame), or replace the protocol frame to declare it as a
"ServletDirectoryFrame". It is of course always useful to take a look at
the indexers and understand how they work :)
More soon...

-- 
Yves Lafon - W3C
"Baroula que barouleras, au tiéu toujou t'entourneras."

Received on Tuesday, 27 November 2001 08:08:50 UTC