Let's say i've a lot of different of sub-domains ,
I want to redirect each request to the server so it will response with different action on each request of sub-domain (with text or html generated on server)
I'm working with EJB 3.1 on Tomcat 7 using web.xml
http://companyName1/mycompany.com
responce to client: "hello aaa companyName1 ..."
http://companyName2/mycompany.com
responce to client: "hello bbb companyName2 ..."
http://companyName3/mycompany.com
responce to client: "hello ccc companyName3 ..."
What is correct web.xml or server.xml mapping to solve this issue ??
Thanks!!
