Struts 2 redirect problem
Hi I am Rakesh 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"%> Show Map Map struts.xml ${url} 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
Re: Struts 2 redirect problem
On Tue, Dec 29, 2009 at 6:46 AM, Rakesh K nair 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"%> > > > > Show Map > > Map > > struts.xml > > > > ${url} > > > 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
Re: XWork has landed!
Great News! Thanks Martin Happy Holidays, René Martin Cooper schrieb: > As many of you have no doubt noticed already, I've checked in the > XWork code base, and added the Apache License 2.0 headers. The new > XWork tree is here: > > http://svn.apache.org/repos/asf/struts/xwork/ > > I have *not* added it to 'current' at this point. I'll leave that to > whoever wants to integrate it further. > > -- > Martin Cooper > > - > To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org > For additional commands, e-mail: dev-h...@struts.apache.org > -- René Gielen IT-Neering.net Saarstrasse 100, 52062 Aachen, Germany Tel: +49-(0)241-4010770 Fax: +49-(0)241-4010771 Cel: +49-(0)177-3194448 http://twitter.com/rgielen - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org
Re: [VOTE] Accept the XWork project as donated by OpenSymphony
A little late from the vacancies ... Martin Cooper schrieb: > This is a vote for the Struts PMC to formally accept the donation of > the XWork project from OpenSymphony. This is a required step of the IP > Clearance procedure documented here: > > http://incubator.apache.org/ip-clearance/index.html > > The XWork artifacts and software grant are available for your perusal here: > > https://issues.apache.org/struts/browse/WW-3248 > > Upon successful conclusion of this vote, the code base attached to the > above issue will be checked in as a Struts subproject, and the IP > Clearance procedure completed. > > PMC members, please indicate your vote below. > > [X] Yes, accept the XWork project > [ ] I don't really care one way or the other > [ ] No, do not accept the XWork project, for these reasons (please specify) > > -- > Martin Cooper > > - > To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org > For additional commands, e-mail: dev-h...@struts.apache.org > -- René Gielen IT-Neering.net Saarstrasse 100, 52062 Aachen, Germany Tel: +49-(0)241-4010770 Fax: +49-(0)241-4010771 Cel: +49-(0)177-3194448 http://twitter.com/rgielen - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org
New Struts 2 Documentation Wiki - Next Step Improving Tutorials
Musachy (and anyone else interested): I've added several pages to the new Struts 2 documentation wiki: http://cwiki.apache.org/confluence/display/S2NewDocDraft/Home. I've copied over many of the pages from the current wiki: http://cwiki.apache.org/confluence/display/WW/Home and tried to update them. But now I'm not sure where to go next on this project and could use some guidance/feedback. The next area I'd like to work on for the new documentation is to improve the Tutorials section of the documentation. I think the Ready, Set, Go tutorial could use some work. I'd like to improve the Ready, Set, Go tutorials by writing up instructions for how to create a Struts 2 web application using Maven and how to create a Struts 2 web application by manually managing the artifacts Struts 2 requires and using Ant for building/deploying the web application. Instead of just referring the user to the Maven Struts 2 blank archetype (which isn't available for 2.1.8.1 last time I checked) I'd like to create a tutorial for how to setup a Struts 2 web application that uses Maven to manage artifact dependencies (what to put in the pom.xml, where to put struts.xml, how to include/configure Jetty to run the Struts 2 web application). As part of the tutorial I'd like to have a zipped Maven project with these minimal configurations that the reader could download, unzip, and import into their own Maven-aware IDE. I'm not sure where to host this zipped Maven project (I'm willing to put it on my own server). For the Struts 2 web application built using Ant, I'd would give the user detailed instructions about which jars must be on the web application's class path (WEB-INF/lib) so the user clearly know which jar files to copy from the download. Again, I would have a complete minimal starter application that the user could download and build using Ant and deploy to a Servlet container like Tomcat or Jetty. These two starter examples (Maven and Ant) could then be expanded upon in the other tutorials such as HelloWorld, Using Tags, Coding Actions, etc. For each separate tutorial I would provide a finished Maven and Ant version the reader could download to run/review on his/her own computer. As part of improving these tutorials I could ensure the many suggestions in the comments on some of the tutorials are incorporated into the new versions. I realize I'm setting myself up for some work, so before I start this, I'd like to get your opinion if this work is a good idea and would be useful for new Struts 2 users or if the current tutorials are good enough to just copy over to the new documentation wiki. If you agree that redoing the tutorials with Maven and Ant examples that users can download would be a good idea, then where do you recommend we host the tutorials? I'm happy to put them on one of my servers if that is appropriate. Thanks for the guidance. Bruce Phillips http://www.brucephillips.name/blog -- View this message in context: http://old.nabble.com/New-Struts-2-Documentation-Wiki---Next-Step-Improving-Tutorials-tp26962935p26962935.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
Re: New Struts 2 Documentation Wiki - Next Step Improving Tutorials
that sounds good to me. the archetypes are being voted for release. thanks for the help Bruce musachy On Tue, Dec 29, 2009 at 5:29 PM, phillips1021 wrote: > > Musachy (and anyone else interested): > > I've added several pages to the new Struts 2 documentation wiki: > http://cwiki.apache.org/confluence/display/S2NewDocDraft/Home. I've copied > over many of the pages from the current wiki: > http://cwiki.apache.org/confluence/display/WW/Home and tried to update them. > > But now I'm not sure where to go next on this project and could use some > guidance/feedback. > > The next area I'd like to work on for the new documentation is to improve > the Tutorials section of the documentation. I think the Ready, Set, Go > tutorial could use some work. I'd like to improve the Ready, Set, Go > tutorials by writing up instructions for how to create a Struts 2 web > application using Maven and how to create a Struts 2 web application by > manually managing the artifacts Struts 2 requires and using Ant for > building/deploying the web application. > > Instead of just referring the user to the Maven Struts 2 blank archetype > (which isn't available for 2.1.8.1 last time I checked) I'd like to create a > tutorial for how to setup a Struts 2 web application that uses Maven to > manage artifact dependencies (what to put in the pom.xml, where to put > struts.xml, how to include/configure Jetty to run the Struts 2 web > application). As part of the tutorial I'd like to have a zipped Maven > project with these minimal configurations that the reader could download, > unzip, and import into their own Maven-aware IDE. I'm not sure where to > host this zipped Maven project (I'm willing to put it on my own server). > > For the Struts 2 web application built using Ant, I'd would give the user > detailed instructions about which jars must be on the web application's > class path (WEB-INF/lib) so the user clearly know which jar files to copy > from the download. Again, I would have a complete minimal starter > application that the user could download and build using Ant and deploy to a > Servlet container like Tomcat or Jetty. > > These two starter examples (Maven and Ant) could then be expanded upon in > the other tutorials such as HelloWorld, Using Tags, Coding Actions, etc. > For each separate tutorial I would provide a finished Maven and Ant version > the reader could download to run/review on his/her own computer. > > As part of improving these tutorials I could ensure the many suggestions in > the comments on some of the tutorials are incorporated into the new > versions. > > I realize I'm setting myself up for some work, so before I start this, I'd > like to get your opinion if this work is a good idea and would be useful for > new Struts 2 users or if the current tutorials are good enough to just copy > over to the new documentation wiki. If you agree that redoing the tutorials > with Maven and Ant examples that users can download would be a good idea, > then where do you recommend we host the tutorials? I'm happy to put them on > one of my servers if that is appropriate. > > Thanks for the guidance. > > Bruce Phillips > http://www.brucephillips.name/blog > > -- > View this message in context: > http://old.nabble.com/New-Struts-2-Documentation-Wiki---Next-Step-Improving-Tutorials-tp26962935p26962935.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 > > - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org