Action redirect back to called actions

2010-06-16 Thread Amol Ghotankar
Hello. I am using struts 2.0.x and facing one issue mentioned below. I have actions x, y, z from these three actions I can call action A. Now what i want is whichever action calls A success of A must redirect to called action. x---> A ---> x y---> A ---> y z---> A ---> z But I also do not wa

injection into converter

2010-06-16 Thread Arash Bizhan zadeh
Hi, Is it possible to inject into a converter in struts2? My application says that there is not module configured ( while there is ) and asks me to configure one by using guice.module ( which I have already done) and throws an error! thanks, -arash

Redirect in an interceptor

2010-06-16 Thread Stephen Turner
We are investigating moving from Struts 2.0.x to 2.1.8. We have an interceptor that does a redirect like this: ResultConfig cfg = new ResultConfig("shRes", ServletRedirectResult.class.getName()); cfg.addParam("location", "MyAction.action?"+request.getQueryString()); actionInvocat

struts 1.x webservice question

2010-06-16 Thread john lee
how can i implement webservice inside the struts 1.x application?   if i need to implement webservice server, which library need to download or use?   if i need to implment websrvice client only, which libary need to call ?   should i download apache AXIS as requirement ?   tks in advance   john

Re: Factoring out URL and link generation

2010-06-16 Thread Paweł Wielgus
Hi Amol, if You have tests for it i would go for the upgrade, so that You will instantly find if anything is broken. Also if it's not finished You should ask your customer if he wish to spend money/time to do it, in the end he is paying so he have the right to decide, simply present him with pros a

AW: [s2] Strange behaviour of s2 application behind reverse proxy

2010-06-16 Thread Jan Fröhlich
Hi Gabriel, thanks for your quick response. Maybe I have to add some information so you can pbb. help me. My app server is a tomcat 5.5 configured with just a http/Port 80 connector. The server is reachable from local network with its hostname. The reverse proxy is configured to an external add

Re: [s2] Strange behaviour of s2 application behind reverse proxy

2010-06-16 Thread Gabriel Belingueres
Make sure your app server is correctly configured to return the font-end proxy values when you call: -request.getServerName() -request.getServerPort() Gabriel 2010/6/16 Jan Fröhlich : > Hi all, > > > > after (nearly) finishing a struts2 project with struts 2.1.8.1 we have an odd > issue testing

[s2] Strange behaviour of s2 application behind reverse proxy

2010-06-16 Thread Jan Fröhlich
Hi all, after (nearly) finishing a struts2 project with struts 2.1.8.1 we have an odd issue testing the application behind an apache reverse proxy server. In web.xml is "index.jsp" as welcome page defined. Index.jsp contains just a <% response.sendRedirect("home.action") %> (please don't

Re: Migrating from Struts 2.0.x to 2.1.8.x

2010-06-16 Thread Dale Newfield
On 6/16/10 9:04 AM, Frans Thamura wrote: but migrate and mix with REST, is still a problem Huh? On Wed, Jun 16, 2010 at 7:53 PM, Greg Lindholmwrote: It should be a pretty easy migration and all the issues are documented here https://cwiki.apache.org/confluence/display/S2WIKI/Troubleshooting+

Re: Migrating from Struts 2.0.x to 2.1.8.x

2010-06-16 Thread Frans Thamura
but migrate and mix with REST, is still a problem On Wed, Jun 16, 2010 at 7:53 PM, Greg Lindholm wrote: > It should be a pretty easy migration and all the issues are documented here > > > https://cwiki.apache.org/confluence/display/S2WIKI/Troubleshooting+guide+migrating+from+Struts+2.0.x+to+2.1.x

Re: Migrating from Struts 2.0.x to 2.1.8.x

2010-06-16 Thread Greg Lindholm
It should be a pretty easy migration and all the issues are documented here https://cwiki.apache.org/confluence/display/S2WIKI/Troubleshooting+guide+migrating+from+Struts+2.0.x+to+2.1.x On Wed, Jun 16, 2010 at 2:36 AM, Amol Ghotankar wrote: > On Wed, Jun 16, 2010 at 12:05 PM, Amol Ghotankar >