Can Tomcat use a default file?

2001-11-26 Thread Sami Saul
Hi everyone! The link for my application is http://server:8080/name/Default.jsp Is there any way to configure Tomcat to work with a default file? I'd like to use http://server:8080/name or even better http://server:8080 Please don't answer Look for it in Google. It's not elegant, and

Re: Can Tomcat use a default file?

2001-11-26 Thread Ronald Wildenberg
Hi Sami, To accomplish this the only thing you have to do is rewrite the index.html file in webapps/ROOT. From this page you can then automatically redirect to name/Default.jsp or anything else, using JavaScript. Ronald Wildenberg. Sami Saul wrote: Hi everyone! The link for my application

Re: Can Tomcat use a default file?

2001-11-26 Thread Chen, Gin
-filename/Default.jsp/welcome-file /welcome-file-list But do it in ur ROOT web-inf file. -Tim -Original Message- From: Sami Saul [mailto:[EMAIL PROTECTED]] Sent: Monday, November 26, 2001 7:17 AM To: [EMAIL PROTECTED] Subject: Can Tomcat use a default file? Hi everyone! The link for my

Re: Can Tomcat use a default file?

2001-11-26 Thread Ashish
by the way, index.* (index.html, index.jsp...) is usually the default file. if you rename your default file to index.jsp you don't need to modify the web.xml ashish shrestha === To unsubscribe: mailto [EMAIL PROTECTED] with

Re: Can Tomcat use a default file?

2001-11-26 Thread Sami Saul
It doesn't work, Chen. Can you explain me in which file and session I should include the welcome-file-list? regards, Sami Just use a welcome file. Do these in your applications WEB-INF file. If you want to do: http://server:8080/name then do: welcome-file-list