No ... this is not a proper way to do it. (because welcome-file list will be used for all the directories under the root directory of your context to locate startup file.)
rather you can use index.jsp as your welcome-file and in that jsp file you can redirect your request to the URL given by you. for example: WEB.XML <welcome-file-list> <welcome-file>index.jsp</welcome-file> </welcome-file-list> index.jsp <% response.sendRedirect("jsp/login.do?action=initMethod&targetAction=direc tLogin"); %> regards, Hitesh Dave -----Original Message----- From: Nagendra Kumar O V S [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 10:32 AM To: [EMAIL PROTECTED] Subject: welcome file in web.xml hi, can i use this in web.xml <welcome-file-list> <welcome-file>jsp/login.do?action=initMethod&targetAction=directLogin</w elcome-file> </welcome-file-list> TIA --nagi Nagendra Kumar O V S Member Technical Staff Ikigo India Private Ltd. 470-B, Road No. 36, Jubilee Hills, Hyderabad 500033 Contact(O): 23544671 Cell: 98482-41789 ____________________________________________________ IncrediMail - Email has finally evolved - Click Here