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 22:57:29 GMT



n828cl wrote:
> 
>> From: John McKaine [mailto:sevjob777@mail.ru]
>> Subject: How configure Tomcat redirect to web page instead index.htm
>> 
>> Is it possible to configure Tomcat server  to  my home page(no trick
>> with redirect on index.htm) ?
> 
> Read the servlet spec, then add whatever page names you want to the
> <welcome-file-list> in your webapp's WEB-INF/web.xml file.
> 
>  - Chuck
> 
> I use Freemarker for my UI. I've read manual here 
> http://linux-sxs.org/internet_serving/c581.html
> http://linux-sxs.org/internet_serving/c581.html 
> So I wrote in web.xml file of my application
> 
>    <welcome-file-list>
> 	  <welcome-file>home.ftl</welcome-file>
>    </welcome-file-list>
> 
> And it doesn't help...
> Sorry, may be I don't understand something...
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/How-configure-Tomcat-redirect-to-web-page-instead-index.htm-tp27749302p27750223.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