URL Rewrite

Hi,I need to perform url rewrite for my project..When the user types the url in the browser as www.xyz.abc.com, it should be redirected to www.abc.com/xyz.Kindly help me on doing this.Thanks,Mclaren
[240 byte] By [mclarena] at [2007-11-26 14:25:00]
# 1
One way is to declare an error page in the web.xml, mapped to 404 (not found) errors. This can be implemented as a .jsp page or a servlet. Then put code in the error page to send the redirects based on the original page, or output the 404 if no redirect exists.
jleecha at 2007-7-8 2:17:50 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...