Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Phantom index.html?
Phantom index.html? [message #198080] Thu, 09 August 2007 16:13
Eclipse UserFriend
Originally posted by:

WST 2.0 on Mac OS X
Tomcat 5.5, Java 1.5

I created a simple Dynamic Web Project, and to get started I created a
fairly simple servlet, with an index.html file in the WebContents
directory. This all works fine, and when I "Run on Server" it starts
tomcat, starts my servlet, and displays my index.html page in the
internal browser.

Subsequently, I added an index.jsp file, and deleted the index.html.
However, when I "Run on Server", the old index.html file still gets

I searched the disk, and found a cached copy in the temp webapps
directory. I found some tips on the web that say if you delete the
server, then re-create it, it will purge all the temp files. Sure,
enough, now when I search the disk, I can't find index.html anywhere.
I looked in my workspace directory, and also in the tomcat install
directory. I exported a .war file, and index.html is not in it. Yet,
if I "Run on Server", index.html is still displayed.

I spent several hours searching the disk for cached locations, and
searching the web for hints, but still no luck. I finally created a
brand new project (with a different name), and copied the java source,
web.xml, and index.jsp into it. If I "Run on Server" with this
project, it displays my index.jsp as I would expect. Hooray, problem

So I deleted the original project, and deleted its disk contents.
Original project is no more. New project still behaves as expected.

So I renamed the new project with the name of the original project
(Refactor->Rename). Argh! If I "Run on Server", the old index.html is
now shown again! Where is it coming from? It must be associated with
the project name somewhere in some cache, but for the life of me I
can't find it.

Can anyone shed some light on where this is being cached? And suggest
how to clear that cache?

Previous Topic:Run on Server publishes *everything* instead of just what I asked for...
Next Topic:WTP 3.0 Requirements document ready for review and first public meeting...
Goto Forum:

Current Time: Wed Apr 21 12:28:14 GMT 2021

Powered by FUDForum. Page generated in 0.01852 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top