Suppose I have 1 webapp named "code-stuff" that sits in my webapps directory. Now lets say i set up 2 subdomains of my website, foo.mysite.comand bar.mysite.com and each have an context that points to code-stuff. Will code in these two contexts be visible to each other? I know Tomcat copies to its work/ directory to 2 copies of code-stuff, but I want to know whether in memory, Tomcat has 2 separate instances of code-stuff running?
Tomcat 5.5 Java 1.4.2 Thanks, jhm