Hi,
I am getting a different value in case of request.getRequestURL() and request.getRequestURL() when used with pageContext.request.requestURI and
pageContext.request.requestURL
I have done the following maping in my struts-config.xml
<action path="/GDCityDetail"
type="struts.actions.GDCityDispatchAction"
parameter="methodToCall" name="brandNeutralCityContentForm"
scope="session">
<forward name="showCityIntroduction" path="GDCityIntroductionView"/>
<forward name="showCityHotels" path="GDCityHotelsView"/>
<forward name="showCityMap" path="GDCityMapView"/>
<forward name="showCityResturants" path="GDCityResturantsView"/>
<forward name="showCityAttractions" path="GDCityAttractionsView"/>
<forward name="showCityEvents" path="GDCityEventsView"/>
<forward name="showCityEventDetails" path="GDCityEventDetailsView"/>
<forward name="showCityTransport" path="GDCityTransportView"/>
<forward name="showCityWeather" path="GDCityWeatherView"/>
<forward name="failure" path="ErrorView"/>
</action>
<action path="/city/introduction"
forward="/GDCityDetail.do?methodToCall=displayCityIntroduction">
</action>
request.getRequestURI returns me /GDCityDetail.do while pageContext.request.requestURI returns me the path of the
jsp mapped i tiles-def.
Thanks
Neeraj.