tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: MVC or Model2 with Tomcat
Date Mon, 12 Dec 2011 19:23:22 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pid,

On 12/9/11 8:23 AM, Pid wrote:
> If you want Tomcat to find & serve index.jsp for a '/' request,
> then you need:
> 
> <welcome-file-list> <welcome-file>index.jsp</welcome-file> 
> </welcome-file-list>

... which is the default , I might add. (Actually, the default is to
look for index.html, index.htm, and index.jsp in that order).

> If you have index.html and Servlets, either Tomcat can serve the
> HTML, or HTTPD.  In the latter case you'll need to ensure that
> requests for / and /index.html are not forwarded to Tomcat.

+1

This is why Andre said that you'll have a more complex configuration.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7mVKoACgkQ9CaO5/Lv0PBn8wCgn8yAJZSsk0szbCcfaAp4sDCG
QTAAoIA7aKm8VfgJNXEPTf8JApKNzZui
=wJCD
-----END PGP SIGNATURE-----

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


Mime
View raw message