This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Servlet as WelCome File" Watch "Servlet as WelCome File" New topic
Author

Servlet as WelCome File

Amirr Rafique
Ranch Hand

Joined: Nov 14, 2005
Posts: 324
Folks

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é
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Yes.

9.10
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Servlet as WelCome File
 
Similar Threads
Aliasing in tomcat for a jsp
servlet deployment error in web.xml on WSAD 4.x
welcome-file-list
Make Servlet as the welcome page
EL Syntax error