tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John McKaine <sevjob...@mail.ru>
Subject Re: How configure Tomcat redirect to web page instead index.htm
Date Mon, 01 Mar 2010 21:54:56 GMT



ramzi khlil wrote:
> 
> 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
>>
>>
> 
> 


 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message