File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Servlet as WelCome File Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Servlet as WelCome File" Watch "Servlet as WelCome File" New topic

Servlet as WelCome File

Amirr Rafique
Ranch Hand

Joined: Nov 14, 2005
Posts: 324

Can we use Servlet in <welcome-file-list> as a <welcome-file>.

"Know where to find the solution and how to use it - that's the secret of success."
Christophe Verré

Joined: Nov 24, 2005
Posts: 14687


The Web server must append each welcome file in the order specified in the deployment descriptor to the partial request and check whether a static resource or servlet in the WAR is mapped to that request URI.

[My Blog]
All roads lead to JavaRanch
Amirr Rafique
Ranch Hand

Joined: Nov 14, 2005
Posts: 324
Thanks Satou
I agree. Here's the link:
subject: Servlet as WelCome File
Similar Threads
EL Syntax error
servlet deployment error in web.xml on WSAD 4.x
Aliasing in tomcat for a jsp
Make Servlet as the welcome page