is it posibable to virtual host multiple sites that point to differnt jsp and other assets but use the same code in one location? Or would the code have to be spread to all the other virtual host to?
Tim Baker
Ranch Hand
Joined: Oct 04, 2003
Posts: 541
posted
0
i don't see why you can't deploy a servlet to tomcats lib folder and then setup individual mappings in web.xml in different contexts and make the servlet use getRealPath to get files local to each context.
Kim Jong II (North Korea's Dear Leader) said:Nuclear weapons don't kill people, people kill people.
subject: virtual hosting multiple sites with one web-inf?