I have a couple of issues with welcome files.
I have some files at the root context, among others an index.html which is
my starting page. I also have a subfolder "/admin" where I have other types
of resources. There is also an "/admin/index.html" which is the starting
page for the administrative user interface.
If you specify the URL "/admin", the browser is directed to the file
"/index.html" and not "/admin/index.html" that I would have expected. Is
this the way it is supposed to work or do we have a bug?
I am now using the UrlRewriterFilter for other stuff and might use it also
for welcome files. In that case I want to disable the welcome files in
Pax-Web. But there seems to be no way to do that. I've tried both
mWebService.registerWelcomeFiles(null, false, mHttpContext);
...and
mWebService.registerWelcomeFiles(new String[] { }, false, mHttpContext);
But none of those calls are accepted.
How can I tell Pax-Web NOT to handle welcome files at all?
/Bengt
--
--
------------------
OPS4J - http://www.ops4j.org - [email protected]
---
You received this message because you are subscribed to the Google Groups
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.