On Fri, 20 Jul 2001, giacomo wrote:

> On Fri, 20 Jul 2001, Sean wrote:
> 
> > Hello All,
> >
> > I have a question reguarding the cocoon2 sitemap.  I want to support
> > something like Tomcat and the Apache web server where users can have either
> > a index.jsp, index.html, or get a directory listing for a directory when
> > requested.  So if you have a directory call it "foobar" and it has an
> > index.jsp file in it the cocoon will "generate" based on that, if it does
> > not it will look for a index.html file, if that is not present it will do a
> > directory listing.  Is something like this possible with the sitemap?
> 
> No this is not supported (and won't be). You'll need to have to know
> your URI spaces.


In Cocoon1 I usually direct all requests for a directory to an index.xml
file and within that file I check for the real location and redirect to
it. In Cocoon2 redirects are not possible in XSP, but it has been said
they are possible in Actions.


Ulrich


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to