http://localhost:8080/context/home.myext
And I can map this no problem. But to get this to work:
http://localhost:8080/context/
fails. I assumed the '<welcome-file-list>' was relevant, but it only seems to be for real files (html, jsp, etc), not for 'virtual' URLs.
But for the record I solved my problem by creating an index.html file with just:
<META HTTP-EQUIV="Refresh" CONTENT="0; URL=/context/home.myext">
and had *everything* else mapped using my Router servlet. Works like a dream!
Thanks again.
Joe.
: So, I've disabled the / mapping by commenting it out. And my CSS
: pages are working as normal. But trying to access my app with the root URL
: just causes a directory listing.
Check your book (or the servlet spec) for "<welcome-file-list>." It's akin to the "DirectoryIndex" directive in Apache httpd, which lists the file(s) checked when a request is made to just a directory path (e.g. index.html).
-QM
--
software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
