tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ramzi khlil <ramzi.atv...@gmail.com>
Subject Re: How configure Tomcat redirect to web page instead index.htm
Date Mon, 01 Mar 2010 21:30:51 GMT
In web.xml you can specify the main page.

On Mon, Mar 1, 2010 at 4:29 PM, John McKaine <sevjob777@mail.ru> 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-instead-index.htm-tp27749302p27749302.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message