You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Rob Tanner <rt...@linfield.edu> on 2007/06/17 23:55:47 UTC
Tomcat continues to display default home page even after I've replaced
it
Hi,
I installed Tomcat 5.5.23 stand-alone and then replaced the default
index.jsp home page (webapps/ROOT/index.jsp) with a different a
different jsp. But, no matter what I do, I still get the default Tomcat
home page and not the pager I replaced it with. At first I thought it
was my browser caching simply caching the original page. I cleared
cache and that made no difference, so I tried wget, a command line
utility that knows nothing about caching. I still got the default Tomcat
home page. I tried using wget from a different machine -- same
results. I could see from doing a "ps -ef | grep java" that I wasn't
running a second Tomcat process and just to make sure that I was
actually talking to the server I thought I was talking to, I killed the
Tomcat process and tried again. This time I got a "Connection refused",
meaning that no other server was answering the GET requests. I
restarted Tomcat and once again got the original default home page
instead of the actual index.jsp that replaced it.
Can anyone tell me where this content is coming from?
Thanks,
Rob
Re: Tomcat continues to display default home page even after I've
replaced it
Posted by Rob Tanner <rt...@linfield.edu>.
Let me wipe the egg off my face and say thanks.
-- Rob
On 06/17/2007 03:35 PM, Mark Thomas wrote:
> Rob Tanner wrote:
>
>> Can anyone tell me where this content is coming from?
>>
>
> Try reading the page. The explanation is right there in the middle.
>
> To see your new page, remove the mapping.
>
> Mark
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
Re: Tomcat continues to display default home page even after I've
replaced it
Posted by Mark Thomas <ma...@apache.org>.
Rob Tanner wrote:
> Can anyone tell me where this content is coming from?
Try reading the page. The explanation is right there in the middle.
To see your new page, remove the mapping.
Mark
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Tomcat continues to display default home page even after I've replaced it
Posted by 吴熊敏 <xw...@ublearning.com>.
I met the same matter with you ever.The reason is that Tomcat itself
have the cache too.
You can delete files under [TOMCAT]/work,and restart your server and try
again.
Wish you lucky!!
On Sun, 17 Jun 2007 14:55:47 -0700
Rob Tanner <rt...@linfield.edu> wrote:
> Hi,
>
> I installed Tomcat 5.5.23 stand-alone and then replaced the default
> index.jsp home page (webapps/ROOT/index.jsp) with a different a
> different jsp. But, no matter what I do, I still get the default Tomcat
> home page and not the pager I replaced it with. At first I thought it
> was my browser caching simply caching the original page. I cleared
> cache and that made no difference, so I tried wget, a command line
> utility that knows nothing about caching. I still got the default Tomcat
> home page. I tried using wget from a different machine -- same
> results. I could see from doing a "ps -ef | grep java" that I wasn't
> running a second Tomcat process and just to make sure that I was
> actually talking to the server I thought I was talking to, I killed the
> Tomcat process and tried again. This time I got a "Connection refused",
> meaning that no other server was answering the GET requests. I
> restarted Tomcat and once again got the original default home page
> instead of the actual index.jsp that replaced it.
>
> Can anyone tell me where this content is coming from?
>
> Thanks,
> Rob
>
>
>
----------------------------
吴熊敏 <xw...@ublearning.com>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
remove the corresponding servlet mapping
Posted by LiuYan 刘研 <lo...@mail.china.com>.
maybe you should remove the corresponding servlet mapping for /index.jsp, or
simply delete everything under ROOT folder, or you can try Tomcat 6.
Rob Tanner wrote:
>
> Hi,
>
> I installed Tomcat 5.5.23 stand-alone and then replaced the default
> index.jsp home page (webapps/ROOT/index.jsp) with a different a
> different jsp. But, no matter what I do, I still get the default Tomcat
> home page and not the pager I replaced it with. At first I thought it
> was my browser caching simply caching the original page. I cleared
> cache and that made no difference, so I tried wget, a command line
> utility that knows nothing about caching. I still got the default Tomcat
> home page. I tried using wget from a different machine -- same
> results. I could see from doing a "ps -ef | grep java" that I wasn't
> running a second Tomcat process and just to make sure that I was
> actually talking to the server I thought I was talking to, I killed the
> Tomcat process and tried again. This time I got a "Connection refused",
> meaning that no other server was answering the GET requests. I
> restarted Tomcat and once again got the original default home page
> instead of the actual index.jsp that replaced it.
>
> Can anyone tell me where this content is coming from?
>
> Thanks,
> Rob
>
>
>
>
>
>
--
View this message in context: http://www.nabble.com/Tomcat-continues-to-display-default-home-page-even-after-I%27ve-replaced-it-tf3937353.html#a11172563
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org