my company is distributor, we plan to provide platform for our customer(different store) to sell their product to indivual customers. http://www.xyz.om/store1 http://www.xyz.com/store2 http://www.xyz.com/store3 ... http://www.xyz.com/storeN (store1...storeN) list our(distributor)'s product to their customer, when customer see the display price, the display price=our price(base price)+storeX's margin my question is the following a. in the struts.xml, different store should have different package defination ? b. in the application, what is the struts2's method to detect which store? in other words, how can i detect which link(http://www.xyz.om/store1 or store2 or store3) is pass in ? without knowing which store is called, i can not call special routine(could be price cal, ...) associated with that store. any good idea to approach this? tks in advance john

