aspose file tools
The moose likes Tomcat and the fly likes Default page for some path Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Default page for some path" Watch "Default page for some path" New topic

Default page for some path

Em Aiy
Ranch Hand

Joined: May 11, 2006
Posts: 226
there is some path exist on my website say .. http://localhost:8080/project/admin/ .. i want that when user enter this url a default page should open which is one th e following path .. http://localhost:8080/project/admin/ .. what web.xml entry should i have to make?

my all pages under admin folder are secured using TOMCAT BASIC authentication, will adding a default page in that way will break the security?

One more thing, I have already defined the index.jsp page for welcome file which is for all users.

The difference between <b>failure</b> and <b>success</b> is often being <b>right</b> and being <b>exactly right</b>.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12913
If you define a new welcome-file-list in the web.xml for your project application, it will replace the list in the default web.xml. Unless you have files in multiple places in the app, that should do it.

[ October 09, 2007: Message edited by: William Brogden ]
Have you tried LearnNowOnline?
subject: Default page for some path