Re: RFE: Set the default index file of a directory...

On Wed, 5 Jan 2000, Roland Mainz wrote:

> 
> Hi !
> 
> ----
> 
> Is there any way to tell the default indexer to use "Overview.html" as
> "default" page for a directory and if "Overview.html" is not available,
> use "Overview.jsp", "index.html" or "index.htm" etc. ?
> If not, how to implement this ? Simply enumerate the possible file names
> with ',' as the seperator and hack the HTMLFrame code ?

For now it is not possible, it uses only one name, the index
StringAttribute as defined in HTTPFrame.
The best thing would be to create a new attribute (indexes? or a better
name ;) ). A StringArrayAttribute, and get the first one in the list that
matches (a little patch to make in     
protected boolean lookupDirectory(LookupState ls, LookupResult lr) 

If you overload index, there will be a problem as the type will change.

We are now working on the new cache.

> 
> ----
> 
> Is there a release date for jigsaw 2.2.x ?

Not yet, the plan is to release a new version soon both 2.0.4 to synch
with the latest devel releases, and 2.1.1 that should be stable for most
of the code, except the cache which will be brand new and will need more
testing. If you are not using the cache, 2.1.1 may be considered as 2.2.-1
;)
And of course, if you have contributions to incorporate, they will be more
than welcome :)
Happy new year!

      /\          - Yves Lafon - World Wide Web Consortium - 
  /\ /  \        Architecture Domain - Jigsaw Activity Leader
 /  \    \/\    
/    \   /  \   http://www.w3.org/People/Lafon - ylafon@w3.org    

Received on Wednesday, 5 January 2000 05:48:48 UTC