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> <welcome-file>Default.jsp</welcome-file> </welcome-file-list>
If you want to do: http://server:8080/ then do: <welcome-file-list> <welcome-file>name/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 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 believe me, I didn't found any good explanation. Thanks in advance. Best regards, Sami =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
