Hi, You can't right now. You will be able to once the servlet specification version 2.4 is out, and a supporting container (e.g. Tomcat 5.x) is available.
For now, you have to do various workarounds, for example an HTML page with a meta http-equiv redirection to your servlet. Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Rajkumar Sen [mailto:rajkumar@;cse.iitb.ac.in] >Sent: Friday, November 08, 2002 1:44 PM >To: [EMAIL PROTECTED] >Subject: servlet as the default file > >Hello > How do I make a servlet to be the default file rather than >the index.jsp file??Basically I want to use the servlet to act as a proxy. >I tried modifying the welcome list in web.xml file ,replacing index.jsp by >servletname.class but the browser asks the user to download the .class >file instead of displaying it?? > >Rajkumar Sen >MTech 1 CSE >IIT Bombay > >www.cse.iitb.ac.in/~rajkumar >(best viewed in Netscape) > > > > >-- >To unsubscribe, e-mail: <mailto:tomcat-user- >[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:tomcat-user- >[EMAIL PROTECTED]>
This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you.
-- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
