This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
What you want is known as virtual hosting. There are 2 ways to do it. 1. Give each site its own unique IP address/port combination 2. Use the hostname-based targer determination that is only supported by HTTP 1.1 clients and higher. I'm afraid I haven't attempted to do this in standalone Tomcat, so I'd have to RTFM. Using Apache/Tomcat, I setup a standard Apache <VirtualHost> directive block and translate to a unique Tomcat context for each site.
An IDE is no substitute for an Intelligent Developer.
Joined: Sep 14, 2002
I'll have to go with option 2. Thanks for the direction. I'll take a look through docs and Google groups.