tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: Apache Tomcat 6.0 loads blank page
Date Sun, 01 Feb 2009 23:52:09 GMT
zia mohades wrote:
> Hi all,
> 
> perfect! thank you martin, I have just created a JSP file, index.jsp and
> copied the content of index.html into it. and then made this modification as
> you said:
> 
> hen configure ./WEB-INF/web.xml to load initial display
>    <welcome-file-listing>
>     <welcome-file>index.jsp</
>> welcome-file>
>>    </welcome-file-listing>
> 
> 
> and when i access http://localhost:8080/mms_test/index.jsp it works. but
> again i can't access the index.html, because most of my pages by default
> access index.html , do i need to change them all to index.jsp. Is there an
> easy way around it??
> 
Well, since the above works, my previous items 1) to 3) are not 
applicable. But item 4) still is.

For the above, I think you can just add the following line:
<welcome-file-listing>
  <welcome-file>index.jsp</welcome-file>
  <welcome-file>index.html</welcome-file>
</welcome-file-listing>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message