tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Spilling <Spill...@equicon.de>
Subject AW: change the default JSP index.jsp for ROOT context in Tomcat 6
Date Wed, 12 Aug 2009 14:02:42 GMT
Chuck,

that's it - but only, if the compiled index*.java/*.class files are removed from the work
directory ;-(

(and it's not odd: it's a "security" hint - simply hide it!)

Cheers,
Joerg 

-----Ursprüngliche Nachricht-----
Von: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com] 
Gesendet: Mittwoch, 12. August 2009 15:51
An: Tomcat Users List
Betreff: RE: change the default JSP index.jsp for ROOT context in Tomcat 6

> From: Jörg Spilling [mailto:Spilling@equicon.de]
> Subject: AW: change the default JSP index.jsp for ROOT context in
> Tomcat 6
> 
> I want no own ROOT application. I will disable the access to the
> manager application by using http://localhost:8080/. On Tomcat 5, I
> have disabled the mapping of index_jsp, I have renamed the index.jsp in
> ROOT/ to access_manager.jsp and I have created a new index.jsp which
> doesn't contain a link to the manager application. That's what I want
> have also on Tomcat 6 too: an "empty" index.jsp if
> http://localhost:8080/ is called and the possibility to access the
> original index.jsp with another name, like
> http://localhost:8080/original-index.jsp ...

The default web application in Tomcat 6 uses index.html, not index.jsp, as the home page.
 Tomcat 6 also does not pre-compile index.jsp as 5.5 did.  If you delete or rename both index.html
and index.jsp, you'll get the odd arrangement you're trying to create.

 - Chuck


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



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


Mime
View raw message