File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes default page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "default page" Watch "default page" New topic

default page

sushant prabhu
Ranch Hand

Joined: Mar 22, 2001
Posts: 66
How do i give a default webpage when any user visits the website
using Javawebserver or Tomcat or weblogic

Sushant Prabhu<br />SCJP2<br />SCWCD<br />OCA9i
khudiram Barik

Joined: Feb 12, 2001
Posts: 17
In your web-inf directory look for web.xml where you can specify the following:-
Different webserver may have different names for this web.xml, but we have to add the welcome-file-list. Try it out.
I agree. Here's the link:
subject: default page
It's not a secret anymore!