This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes welcome-file-list in web.xml: default page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "welcome-file-list in web.xml: default page" Watch "welcome-file-list in web.xml: default page" New topic
Author

welcome-file-list in web.xml: default page

Ron Hamilton
Greenhorn

Joined: Sep 10, 2002
Posts: 16
Is there a way to set the "default" page to be a servlet? In my web.xml, this works fine:




However, this does not:



[ June 10, 2004: Message edited by: Ron Hamilton ]
[ June 10, 2004: Message edited by: Ron Hamilton ]
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
Apparently not. How about using a JSP file, whose only purpose is to forward the user to the servlet in question?


Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: welcome-file-list in web.xml: default page
 
Similar Threads
web.xml error page
I am getting this message : "Error 404--Not Found" while starting an app by Weblogic
Using index.do as default page
web.xml error page
welcome-file-list