Howdy,
You can't right now with tomcat standalone.  But you do have several other options:

- Wait for servlet spec 2.4, implemented by tomcat 5.x, to come out.  The spec allows 
for servlets to be welcome files.  So you could just write a welcome servlet and map 
it to <url-pattern>/welcome-file</url-pattern> in web.xml.

- Have your static welcome file, e.g. index.html, simply content a meta refresh tag 
that redirects to a servlet mapped to /welcome-file.

- Use Apache as a front-end and a bit of URL-rewriting.

There are probably other options out there right now but I have to run to a meeting ;)

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: S�ren Blidorf [mailto:[EMAIL PROTECTED]
>Sent: Monday, February 24, 2003 1:53 PM
>To: [EMAIL PROTECTED]
>Subject: Do not display the wekcome-file
>
>Hi.
>
>How can I setup my Tomcat so that the welcome-file is not shown in the
>adresse field http://mydomain.net/welcome-file
>
>Best regards
>
>Soren
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to