Hi Is it possible to invoke a servlet as welcome-file . I tried placing servlet in DD , in many ways: <welcome-file-list> <welcome-file>Servlet</welcome-file> </welcome-file-list> but Tomcat wont recongnize. So , CAN we use servlet as welcome file or not?
------------------ Gagan (/^_^\) SCJP2 Die-hard JavaMonk -- little Java a day , keeps u going .
Gagan (/^_^\) SCJP2 SCWCD IBM486 <br />Die-hard JavaMonk -- little Java a day, keeps you going.<br /><a href="http://www.objectfirst.com/blog" target="_blank" rel="nofollow">My Blog</a>
I guess you can give your URL-PATTERN Which you gave in SERVLET-MAPPING. For ex: If /servletToJsp is the url-pattern in my servlet mapping to my actual servlet <welcome-file-list> <welcome-file>/servletToJsp</welcome-file> </welcome-file-list> Thanks! Satish Kolli, SCJP2
Joined: Feb 28, 2001
Thankx satish ! I tried ur solution , but it do not work , at least not with Tomcat4.0.1 . Which web-container u r using ? Any other idea? anyone ------------------ Gagan (/^_^\) SCJP2 Die-hard JavaMonk -- little Java a day , keeps u going .