Hi, this may be helpful.
==================================================================== <package namespace="/barbados" name="myPackage1" extends="struts-default"> <action name="index" class="IndexAction"> <result>/jsp/ukbarbados/index.jsp</result> </action> <action name="listHotels" class="StarPageAction"> <param name="country">barbados</param> <result>/jsp/ukbarbados/list_hotels.jsp</result> </action> <action name="hotel" class="Hotel"> <result >/jsp/commonjsps/hotel.jsp</result> </action> </package> <package namespace="/antigua" name="myPackage2" extends="struts-default"> <action name="index" class="IndexAction"> <result>/jsp/ukantigua/index.jsp</result> </action> </package> ======================================================================== thanks Emil On Wed, Jan 20, 2010 at 12:22 PM, Saeed Iqbal <saee...@gmail.com> wrote: > This is strange. What kind of a setup do you have? > > On Wed, Jan 20, 2010 at 11:20 AM, emil thushanga <thusha...@gmail.com > >wrote: > > > Dear all, > > > > I have an S2 web application. No login procedure and any page can be > > accessed. Basically it’s an Open session. > > > > It’s a hotel website. As an example when user access Barbados web pages > > > > , regardless of any URL patter session should be created and token should > > be > > save as region='Barbados'. > > > > If user accessing any of Antigua URLs session should be filled with > > region='Antigua' > > > > We have separated regions by using different namespaces in struts.xml. > > > > > > > > Example URL pattern, > > > > http://localhost:8084/subsites/barbados/listHotels.html?starRate=3 > > > > Please provide a help on this. > > > > Thanks > > > > Emil > > > > > > -- > Saeed Iqbal > Independant Consultant > J2EE - Application Architect / Developer > -- Emil Thushanga