I am trying to make a hosted service(with a few small apps) that companies can purchase. I want the default tomcat app(my app as I took default over) to be run when a url like this is used
http://xsoftware.biz/<companyName> and I want the req.war app to be run when this url is used http://xsoftware.biz/<companyName>/req I basically want to store the companyName in the request so the app knows which company is being accessed, but want the correct web app to be executed as well. How can I do this? Any good documentation on this? I don't want a war file per companyName obviously, but it is like I want to change out the default tomcat behavior where normally that would be mapped to the war file name. Is this even possible? thanks, dean