I need to create an struts application which will be hosted in a particular
domain say http://www.abcd.com

 

Here there will be some pages which will be accessed through other domains
also.

 

Say I have 3 more domains - 

www.xx.xom

www.yy.com

www.zz.com

 

>From all these three domains my DomainAction.do page can be accessed. The
domains point to this DomainAction page but also pass individual arguments.

Say

www.xx.xom points to http://www.abcd.com/DomainAction.do?domain=xx

www.yy.com points to http://www.abcd.com/DomainAction.do?domain=yy

www.zz.com points to http://www.abcd.com/DomainAction.do?domain=zz

 

My requirement is that when a user is coming through the link
http://www.abcd.com/DomainAction.do?domain=xx, I need to change the URL in
the browser to something like http://www.abcd.com/xx/DomainAction.do or
http://www.abcd.com/xx or anything which contains xx in the URL. Similar
alterations has to be done when the user is coming through yy.com or zz.com.

I do not know how many such things will be there and cannot create any
structure similar to what needs to be shown in the URL.

 

I need urgent help on this.

 

Regards

 

 

 

 

 

Reply via email to