This is the bug I filed. The problem is that if you use the same context,
for Tomcat in this case, in different projects, IDEA thinks you're using the
same app, and I get JSPs from other projects with the wrong content when
debugging. It's like the deployer doesn't really redeploy or even destroy
the app completely when you redeploy with a new project.
It's quite disturbing :)