Point it relative to your webapp path. -----Original Message----- From: John McKaine [mailto:[email protected]] Sent: Monday, March 01, 2010 3:55 PM To: [email protected] Subject: Re: How configure Tomcat redirect to web page instead index.htm
ramzi khlil wrote: > > In web.xml you can specify the main page. > > On Mon, Mar 1, 2010 at 4:29 PM, John McKaine <[email protected]> wrote: > >> >> Hello everyone. >> >> I have the website, deployed on Tomcat server (virtual host). >> When I enter in browser my domain - http://workinua.com.ua/ >> http://workinua.com.ua/ i get from server index.htm page and then by >> this code - >> >> <script> >> function redirect() { >> window.location="home.html"; >> } >> </script> >> >> redirect to my home page - http://workinua.com.ua/home.html >> http://workinua.com.ua/home.html >> >> Is it possible to configure Tomcat server to my home page(no trick >> with redirect on index.htm) ? >> >> Thanks in advance. >> >> -- >> View this message in context: >> http://old.nabble.com/How-configure-Tomcat-redirect-to-web-page-inste >> ad-index.htm-tp27749302p27749302.html >> Sent from the Tomcat - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > Thanks for your reply. But I have tried for my local server something like <welcome-file-list> <welcome-file>home.html</welcome-file> </welcome-file-list> it doesn't work... -- View this message in context: http://old.nabble.com/How-configure-Tomcat-redirect-to-web-page-instead-index.htm-tp27749302p27749558.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
