On Tue, Dec 29, 2009 at 6:46 AM, Rakesh K nair <rakeshknai...@gmail.com> wrote: > > Hi > > I am Rakesh
Hi Rakesh, I am Wes. You'll get more responses if you post this message in the Struts *User* mailing list. In this list we discuss the future and development of Struts itself. > > In my current project i need to display a different web application in a div > which is a part of my main web page.I am able to get only the html output > which acts as if it is in same context.For eg: for image,java script path it > looks in the local context.My need is that div should completely occupy > third party application from where i can operate the same. > > I am using struts 2.1.6 > > I managed do that using below code(only the necessary part) > > jsp page > <%@ taglib prefix="s" uri="/struts-tags"%> > <%@ taglib prefix="sx" uri="/struts-dojo-tags"%> > > <s:url id="ajaxTest" action="showMapView"/> > <sx:a id="link1" href="%{ajaxTest}" targets="mapview"> > Show Map > </sx:a> > <div id="mapview">Map</div> > > struts.xml > > <action name="showMapView" class = "org.trinity.actions.MultipleTripMapView" >> > <result type="redirect">${url}</result> > </action> > > in MultipleTripMapView i am setting value of url like > 'http://www.google.co.in/' and also included getter for url > > Going through different discussion forums i found it can be done using > ServletRedirectResult, but i am not able find enough support for that. > > Expecting your kind interaction > > Thanks in advance > > Rakesh > -- > View this message in context: > http://old.nabble.com/Struts-2-redirect--problem-tp26953601p26953601.html > Sent from the Struts - Dev mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org > For additional commands, e-mail: dev-h...@struts.apache.org > > -- Wes Wannemacher Head Engineer, WanTii, Inc. Need Training? Struts, Spring, Maven, Tomcat... Ask me for a quote! --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org